#include <CdbBdbSBtreeNode.hh>
Public Member Functions | |
| CdbBdbSBtreeNode () | |
| CdbBdbSBtreeNode (d_ULong p) | |
| CdbBdbSBtreeNode (const CdbBdbSBtreeNode< K, ORDER > &theNode) | |
| ~CdbBdbSBtreeNode () | |
| The destructor. | |
| CdbBdbSBtreeNode< K, ORDER > & | operator= (const CdbBdbSBtreeNode< K, ORDER > &theNode) |
Public Attributes | |
| d_ULong | parent |
| d_ULong | child [2 *ORDER::N+1] |
| K | key [2 *ORDER::N] |
| d_Boolean | isLeaf |
| d_Octet | n |
This template class implement nodes for the corresponding B-tree data structures and related algorithms.
The template is parametrized by mean of the following parameters:
K - is a type of keys. This type has to provide the following methods:
default constructor copy constructor destructor
and operators:
= == < << (into std::ostream)
ORDER - is a utility class with the only usable enumeration specifying an order of the tree. Here is expected interface of this class:
class <name > ... { public: enum { N = }; };
The reason why we're usingthis tricky way to specify the order instead of the non-class template parameter, like "unsigned ORDER", is that teh current version of the DDL compiler does not seem to support this kind of syntax.
Definition at line 58 of file CdbBdbSBtreeNode.hh.
|
|||||||||
|
Definition at line 66 of file CdbBdbSBtreeNode.hh. References CdbBdbSBtreeNode< K, ORDER >::isLeaf, CdbBdbSBtreeNode< K, ORDER >::n, and CdbBdbSBtreeNode< K, ORDER >::parent. |
|
||||||||||
|
Definition at line 67 of file CdbBdbSBtreeNode.hh. References CdbBdbSBtreeNode< K, ORDER >::isLeaf, CdbBdbSBtreeNode< K, ORDER >::n, and CdbBdbSBtreeNode< K, ORDER >::parent. |
|
||||||||||
|
Definition at line 72 of file CdbBdbSBtreeNode.hh. |
|
|||||||||
|
The destructor. NOTE: The destructor is NOT virtual because this is an embedded class. Definition at line 82 of file CdbBdbSBtreeNode.hh. |
|
||||||||||
|
Definition at line 87 of file CdbBdbSBtreeNode.hh. |
|
|||||
|
Definition at line 116 of file CdbBdbSBtreeNode.hh. Referenced by CdbBdbSAbsBtree< K, FCP, ORDER >::insert(), CdbBdbSBtreeP< K, FCP, ORDER >::release(), and CdbBdbSAbsBtree< K, FCP, ORDER >::remove(). |
|
|||||
|
Definition at line 124 of file CdbBdbSBtreeNode.hh. Referenced by CdbBdbSBtreeNode< K, ORDER >::CdbBdbSBtreeNode(), CdbBdbSAbsBtree< K, FCP, ORDER >::insert(), and CdbBdbSAbsBtree< K, FCP, ORDER >::remove(). |
|
|||||
|
Definition at line 120 of file CdbBdbSBtreeNode.hh. Referenced by CdbBdbSAbsBtree< K, FCP, ORDER >::insert(), CdbBdbSAbsBtree< K, FCP, ORDER >::remove(), and CdbBdbSAbsBtree< K, FCP, ORDER >::search(). |
|
|||||
|
Definition at line 129 of file CdbBdbSBtreeNode.hh. Referenced by CdbBdbSBtreeNode< K, ORDER >::CdbBdbSBtreeNode(), CdbBdbSAbsBtree< K, FCP, ORDER >::insert(), CdbBdbSAbsBtree< K, FCP, ORDER >::remove(), and CdbBdbSAbsBtree< K, FCP, ORDER >::search(). |
|
|||||
|
Definition at line 112 of file CdbBdbSBtreeNode.hh. Referenced by CdbBdbSBtreeNode< K, ORDER >::CdbBdbSBtreeNode(), CdbBdbSAbsBtree< K, FCP, ORDER >::insert(), and operator<<(). |
1.3-rc3