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