#include <avl.hxx>
Inheritance diagram for BaseAvlNode:

Public Member Functions | |
| BaseAvlNode () | |
| virtual | ~BaseAvlNode () |
Public Attributes | |
| unsigned short | user |
Friends | |
| class | BaseAvlTree |
Note that there is neither a key nor a datum field. The intended use of this structure is for the client to create a containing structure of which this is the first member, as in:
struct MyNode { BaseAvlNode avl; SomeType key; SomeOtherType value; }
and then provide a comparison procedure that casts the BaseAvlNode object to a typed BaseAvlNode pointer in order to perform comparison functions. In this way, the library is left independent of the key type or the value type, and can be used in some circumstances (like sets) where neither is actually needed.
Definition at line 73 of file avl.hxx.
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6