#include <node.h>
Public Member Functions | |
| AVLNode () | |
| The default constructor. | |
| ~AVLNode () | |
| The destructor. | |
| size_t | mem_usage () const |
| Returns the overhead caused by the node. | |
Public Attributes | |
| AVLNode * | left |
| The left branch of the tree from this node. | |
| AVLNode * | right |
| The right branch of the tree from this node. | |
| AVLNode * | parent |
| The parent node. | |
| Key | id |
| The key for this node. | |
| Data | data |
| The data held at this node. | |
| unsigned char | balance: 2 |
| The state of this part of the tree's balance. | |
| size_t mem_usage | ( | ) | const [inline] |
Returns the overhead caused by the node.
References AVLNode< Key, Data >::left, AVLNode< Key, Data >::mem_usage(), and AVLNode< Key, Data >::right.
Referenced by AVLNode< Key, Data >::mem_usage().
1.5.8