EPICS ARCHIVER V4
|
AVL-type balanced tree. More...
#include <AVLTree.h>
Public Member Functions | |
void | add (const Item &item) |
Add (copy) Item into the tree. More... | |
bool | find (Item &item) |
Try to find item in tree. More... | |
void | traverse (void(*visit)(const Item &, void *), void *arg=0) |
Sorted (inorder) traverse, calling visitor routine on each item. | |
void | clear () |
Delete all tree entries. | |
void | make_dotfile (const char *name) |
Generates a graphviz 'dot' file. More... | |
bool | selftest () |
Tests if the tree is AVL-balanced. | |
AVL-type balanced tree.
Sorted binary tree for Items that support the following comparison member function:
|
inline |
Add (copy) Item into the tree.
GenericException |
|
inline |
Try to find item in tree.
Result: true if found, in which case the item argument is set to the one found.