Inherits stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node.
Public Member Functions | |
void | initialize () |
Set variables to initial values. | |
bool | isfull () const |
True if the node's slots are full. | |
bool | isfew () const |
True if few used entries, less than half full. | |
bool | isunderflow () const |
True if node has too few entries. | |
Public Attributes | |
leaf_node * | prevleaf |
Double linked list pointers to traverse the leaves. | |
leaf_node * | nextleaf |
Double linked list pointers to traverse the leaves. | |
key_type | slotkey [leafslotmax] |
Keys of children or data pointers. | |
data_type | slotdata [leafslotmax] |
Array of data. |
Contains pairs of keys and data items. Key and data slots are kept in separate arrays, because the key array is traversed very often compared to accessing the data items.
Definition at line 279 of file btree.h.
void stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::leaf_node::initialize | ( | ) | [inline] |
bool stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::leaf_node::isfull | ( | ) | const [inline] |
bool stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::leaf_node::isfew | ( | ) | const [inline] |
bool stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::leaf_node::isunderflow | ( | ) | const [inline] |
leaf_node* stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::leaf_node::prevleaf |
leaf_node* stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::leaf_node::nextleaf |
key_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::leaf_node::slotkey[leafslotmax] |
data_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::leaf_node::slotdata[leafslotmax] |