Inherits stx::btree::node.
Public Member Functions | |
void | initialize (const unsigned short l) |
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 | |
key_type | slotkey [innerslotmax] |
Keys of children or data pointers. | |
node * | childid [innerslotmax+1] |
Pointers to children. |
Contains only keys and no data items.
Definition at line 244 of file btree.h.
void stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::inner_node::initialize | ( | const unsigned short | l | ) | [inline] |
Set variables to initial values.
Reimplemented from stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node.
Definition at line 253 of file btree.h.
References stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node::initialize().
Referenced by stx::btree< _Key, _Data, std::pair< key_type, data_type >, _Compare, _Traits, true >::allocate_inner().
bool stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::inner_node::isfull | ( | ) | const [inline] |
True if the node's slots are full.
Definition at line 259 of file btree.h.
References stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::innerslotmax, and stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node::slotuse.
bool stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::inner_node::isfew | ( | ) | const [inline] |
True if few used entries, less than half full.
Definition at line 265 of file btree.h.
References stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::mininnerslots, and stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node::slotuse.
bool stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::inner_node::isunderflow | ( | ) | const [inline] |
True if node has too few entries.
Definition at line 271 of file btree.h.
References stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::mininnerslots, and stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node::slotuse.
key_type stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::inner_node::slotkey[innerslotmax] |
node* stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::inner_node::childid[innerslotmax+1] |