#include <CTBmapNode.hxx>
Inheritance diagram for CTBmapNode:
Public Types | |
typedef CTBmap< K, V, C > | Map |
typedef CTBmapNode< K, V, C > | Node |
Public Methods | |
CTBmapNode () | |
CTBmapNode (const K &key) | |
CTBmapNode (const K &key, const V &value) | |
CTBmapNode (const CTBpair< const K, V > &pair) | |
~CTBmapNode () | |
virtual CTBbtreeNode * | Clone () const |
const K & | Key () const |
V & | Value () |
const V & | Value () const |
CTBpair< const K, V > & | Pair () |
const CTBpair< const K, V > & | Pair () const |
CTBmapNode< K, V, C > * | Up () const |
CTBmapNode< K, V, C > * | Left () const |
CTBmapNode< K, V, C > * | Right () const |
CTBmapNode< K, V, C > * | Next () const |
CTBmapNode< K, V, C > * | Prev () const |
CTBmapNode< K, V, C > * | Skip (CTBint i_offset) const |
Private Methods | |
CTBmapNode (const CTBmapNode< K, V, C > &rhs) | |
CTBmapNode< K, V, C > & | operator= (const CTBmapNode< K, V, C > &rhs) |
Private Attributes | |
CTBpair< const K, V > | m_pair |
Definition at line 17 of file CTBmapNode.hxx.
|
Definition at line 20 of file CTBmapNode.hxx. |
|
Definition at line 21 of file CTBmapNode.hxx. |
|
Default constructor.
Definition at line 23 of file CTBmapNode.icc. Referenced by Clone().
|
|
Constructor from key.
Definition at line 31 of file CTBmapNode.icc. |
|
Constructor from key and value.
Definition at line 39 of file CTBmapNode.icc. |
|
Constructor from pair.
Definition at line 47 of file CTBmapNode.icc. |
|
Destructor.
Definition at line 55 of file CTBmapNode.icc. |
|
|
|
Reimplemented from CTBbtreeNode. Definition at line 62 of file CTBmapNode.icc. |
|
Constant access key.
Definition at line 74 of file CTBmapNode.icc. Referenced by Clone(), and CTBmapBrowser::Key().
|
|
Access value.
Definition at line 83 of file CTBmapNode.icc. Referenced by Clone(), and CTBmapBrowser::Value().
|
|
Constant access value.
Definition at line 92 of file CTBmapNode.icc. |
|
Access pair.
Definition at line 101 of file CTBmapNode.icc. Referenced by CTBmapBrowser::Current(), CTBmapBrowser::operator *(), CTBmapBrowser::operator const CTBpair(), and CTBmapBrowser::operator->().
|
|
Constant access pair.
Definition at line 110 of file CTBmapNode.icc. |
|
Returns pointer to parent node, or null or root node.
Reimplemented from CTBbtreeNode. Definition at line 119 of file CTBmapNode.icc. |
|
Returns pointer to left child, or null.
Reimplemented from CTBbtreeNode. Definition at line 128 of file CTBmapNode.icc. |
|
Returns pointer to right child, or null.
Reimplemented from CTBbtreeNode. Definition at line 137 of file CTBmapNode.icc. |
|
Returns pointer to next node in key order, or null if last.
Reimplemented from CTBbtreeNode. Definition at line 146 of file CTBmapNode.icc. Referenced by CTBmapBrowser::Next(), and CTBmapBrowser::operator++().
|
|
Returns pointer to previous node in key order, or null if first.
Reimplemented from CTBbtreeNode. Definition at line 155 of file CTBmapNode.icc. Referenced by CTBmapBrowser::Prev(), and CTBmapBrowser::operator--().
|
|
Skip i_offset nodes in key order, return pointer to node or null.
Reimplemented from CTBbtreeNode. Definition at line 164 of file CTBmapNode.icc. Referenced by CTBmapBrowser::operator+=(), and CTBmapBrowser::operator-=().
|
|
|
|
the key-value pair.
Definition at line 55 of file CTBmapNode.hxx. |