long | CountItems () const
|
bool | AddItem ( ATreeItem & item)
|
bool | AddItem ( ATreeItem & item,long atIndex)
|
bool | RemoveItem ( ATreeItem & item)
|
ATreeItem * | RemoveItem (long index)
|
ATreeItem * | ItemAt (long index) const
|
ATreeItem * | ItemAtFast (long index) const
|
long | IndexOf ( ATreeItem & item) const
|
ATreeItem * | FirstItem () const
|
ATreeItem * | LastItem () const
|
bool | HasItem ( ATreeItem & item) const
|
bool | IsEmpty () const
|
void | DoForEach (bool (*func)( ATreeItem &))
|
void | DoForEach (bool (*func)( ATreeItem &,void*),void*)
|
void | SortItems (int (*cmp)( ATreeItem const&, ATreeItem const&))
|
void | MakeEmpty (bool deleteItems = FALSE)
removes all child items; optionally deletes them
|
void | MakeEmptyAll (bool deleteItems = FALSE)
recursive MakeEmpty
|