tlx
|
Extended structure of a inner node in-memory. More...
Public Types | |
typedef std::allocator_traits< Allocator >::template rebind_alloc< InnerNode > | alloc_type |
Define an related allocator for the InnerNode structs. More... | |
Public Member Functions | |
void | initialize (const unsigned short l) |
Set variables to initial values. More... | |
const key_type & | key (size_t s) const |
Return key in slot s. More... | |
bool | is_full () const |
True if the node's slots are full. More... | |
bool | is_few () const |
True if few used entries, less than half full. More... | |
bool | is_underflow () const |
True if node has too few entries. More... | |
Public Member Functions inherited from BTree< Key, Value, KeyOfValue, Compare, Traits, Duplicates, Allocator >::node | |
void | initialize (const unsigned short l) |
Delayed initialisation of constructed node. More... | |
bool | is_leafnode () const |
True if this is a leaf node. More... | |
Public Attributes | |
key_type | slotkey [inner_slotmax] |
Keys of children or data pointers. More... | |
node * | childid [inner_slotmax+1] |
Pointers to children. More... | |
Public Attributes inherited from BTree< Key, Value, KeyOfValue, Compare, Traits, Duplicates, Allocator >::node | |
unsigned short | level |
Level in the b-tree, if level == 0 -> leaf node. More... | |
unsigned short | slotuse |
Number of key slotuse use, so the number of valid children or data pointers. More... | |
Extended structure of a inner node in-memory.
Contains only keys and no data items.
typedef std::allocator_traits<Allocator>::template rebind_alloc<InnerNode> alloc_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
node* childid[inner_slotmax+1] |
key_type slotkey[inner_slotmax] |