stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node Struct Reference
The header structure of each node in-memory.
More...
Inherited by stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::inner_node, and stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::leaf_node.
List of all members.
|
Public Member Functions |
void | initialize (const unsigned short l) |
| Delayed initialisation of constructed node.
|
bool | isleafnode () const |
| True if this is a leaf node.
|
Public Attributes |
unsigned short | level |
| Level in the b-tree, if level == 0 -> leaf node.
|
unsigned short | slotuse |
| Number of key slotuse use, so number of valid children or data pointers.
|
Detailed Description
template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
struct stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node
The header structure of each node in-memory.
This structure is extended by inner_node or leaf_node.
Definition at line 218 of file btree.h.
Member Function Documentation
template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
void stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node::initialize |
( |
const unsigned short |
l |
) |
[inline] |
template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
bool stx::btree< _Key, _Data, _Value, _Compare, _Traits, _Duplicates >::node::isleafnode |
( |
|
) |
const [inline] |
Member Data Documentation
template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
Level in the b-tree, if level == 0 -> leaf node.
Definition at line 221 of file btree.h.
template<typename _Key, typename _Data, typename _Value = std::pair<_Key, _Data>, typename _Compare = std::less<_Key>, typename _Traits = btree_default_map_traits<_Key, _Data>, bool _Duplicates = false>
Number of key slotuse use, so number of valid children or data pointers.
Definition at line 225 of file btree.h.
The documentation for this struct was generated from the following file:
Generated on Fri Jan 25 13:53:43 2008 for STX B+ Tree Template Classes by
1.5.4