#include <Fl_Ptr_List.h>
Inheritance diagram for Fl_Ptr_List:

Public Methods | |
| Fl_Ptr_List () | |
| virtual | ~Fl_Ptr_List () |
| virtual void | clear () |
| void | resize (unsigned newsize) |
| void | auto_delete (bool val) |
| bool | auto_delete () |
| void | blocksize (int s) |
| int | blocksize () |
| bool | empty () const |
| unsigned | count () const |
| unsigned | size () const |
| void | append (void *item) |
| void | prepend (void *item) |
| void | insert (unsigned pos, Fl_Ptr_List_Item item) |
| void | replace (unsigned pos, Fl_Ptr_List_Item item) |
| void | remove (unsigned pos) |
| bool | remove (Fl_Ptr_List_Item ptr) |
| void | sort (Fl_Sort_Function cmpfunc) |
| Sort array using qsort algorithm. More... | |
| Fl_Ptr_List_Item | search (Fl_Ptr_List_Item key, Fl_Search_Function cmpfunc) |
| Search from list, using linear search algorithm. More... | |
| Fl_Ptr_List_Item | binary_search (Fl_Ptr_List_Item key, Fl_Search_Function cmpfunc) |
| Search from list, using linear search algorithm. More... | |
| int | index_of (const Fl_Ptr_List_Item p) const |
| Returns index item 'p', support only pointer comparing. More... | |
| Fl_Ptr_List_Item | item (unsigned index) const |
| Fl_Ptr_List_Item & | operator[] (unsigned ind) const |
| Fl_Ptr_List_Item * | data () const |
| Fl_Ptr_List & | operator= (const Fl_Ptr_List &list) |
| Fl_Ptr_List (const Fl_Ptr_List &list) | |
| int | for_each (Fl_Foreach_Function todo, void *arg) |
| int | for_each (Fl_Foreach_Function todo, void *arg) const |
Protected Methods | |
| virtual void | free_item (Fl_Ptr_List_Item item) |
Protected Attributes | |
| Fl_Ptr_List_Item * | items |
| bool | auto_delete_ |
(More information about this class is comming soon, or not.. :)
Definition at line 37 of file Fl_Ptr_List.h.
|
||||||||||||
|
Search from list, using linear search algorithm.
|
|
|
Returns index item 'p', support only pointer comparing. Returns -1, if item not in list. |
|
||||||||||||
|
Search from list, using linear search algorithm. 'cmpfunc' returns:
|
|
|
Sort array using qsort algorithm. 'cmpfunc' returns:
|
1.2.15