#include <mi32/btreefun.h>
Public Member Functions | |
| ERRVALUE | Allocate (INT32 InitialNumItems, TEST &Test=TEST()) |
| BALANCEDTREE () | |
| ERRVALUE | Clear () |
| ERRVALUE | DumpTree (DUMP &Dump) |
| INT32 | FindAndInsertKey (_BT &Item, INT32 CurTagNum, bool &AddedItem) |
| bool | IsAllocated () const |
| INT32 | LocateKey (const _BT &Item) |
| void | SetTestFunc (TEST &NewTest) |
| ERRVALUE | TraverseTree (DUMP &Dump) |
| ~BALANCEDTREE () | |
Definition at line 180 of file btreefun.h.
|
|||||||||
|
Constructor.
Definition at line 208 of file btreefun.h. |
|
|||||||||
|
Destructor.
Definition at line 212 of file btreefun.h. |
|
||||||||||||||||
|
Initialize the balanced tree giving an initial number of items.
Definition at line 216 of file btreefun.h. |
|
|||||||||
|
Clear the balanced tree of all items.
Definition at line 226 of file btreefun.h. |
|
||||||||||
|
Dump the balanced tree in no particular order.
Definition at line 230 of file btreefun.h. |
|
||||||||||||||||||||
|
Locate an item in the tree and return its key value. If the item does not exist, add it to the tree
Definition at line 236 of file btreefun.h. |
|
|||||||||
|
Determine if the balanced tree Allocate() method has been called.
Definition at line 248 of file btreefun.h. |
|
||||||||||
|
Locate an item in the tree and return its key value.
Definition at line 252 of file btreefun.h. |
|
||||||||||
|
Set a new test function for locating tree items.
Definition at line 257 of file btreefun.h. |
|
||||||||||
|
Dump the balanced tree in sorted order.
Definition at line 262 of file btreefun.h. |
1.3.8-20040913