#include <RB_Tree.h>
Inheritance diagram for ACE_RB_Tree_Node< EXT_ID, INT_ID >:
Public Member Functions | |
ACE_RB_Tree_Node (const EXT_ID &k, const INT_ID &t) | |
Constructor. | |
~ACE_RB_Tree_Node (void) | |
Destructor. | |
EXT_ID & | key (void) |
Key accessor. | |
INT_ID & | item (void) |
Item accessor. | |
void | color (RB_Tree_Node_Color c) |
Set color of the node. | |
RB_Tree_Node_Color | color (void) |
Get color of the node. | |
ACE_RB_Tree_Node< EXT_ID, INT_ID > * | parent (void) |
Accessor for node's parent pointer. | |
void | parent (ACE_RB_Tree_Node< EXT_ID, INT_ID > *p) |
Mutator for node's parent pointer. | |
ACE_RB_Tree_Node< EXT_ID, INT_ID > * | left (void) |
Accessor for node's left child pointer. | |
void | left (ACE_RB_Tree_Node< EXT_ID, INT_ID > *l) |
Mutator for node's left child pointer. | |
ACE_RB_Tree_Node< EXT_ID, INT_ID > * | right (void) |
Accessor for node's right child pointer. | |
void | right (ACE_RB_Tree_Node< EXT_ID, INT_ID > *r) |
Mutator for node's right child pointer. | |
Private Attributes | |
EXT_ID | k_ |
The key. | |
INT_ID | t_ |
The item. | |
RB_Tree_Node_Color | color_ |
Color of the node. | |
ACE_RB_Tree_Node< EXT_ID, INT_ID > * | parent_ |
Pointer to node's parent. | |
ACE_RB_Tree_Node< EXT_ID, INT_ID > * | left_ |
Pointer to node's left child. | |
ACE_RB_Tree_Node< EXT_ID, INT_ID > * | right_ |
Pointer to node's right child. |
Definition at line 54 of file RB_Tree.h.
|
Constructor.
Definition at line 25 of file RB_Tree.cpp. References ACE_TRACE.
|
|
Destructor.
Definition at line 40 of file RB_Tree.cpp. References ACE_TRACE.
00041 { 00042 ACE_TRACE ("ACE_RB_Tree_Node<EXT_ID, INT_ID>::~ACE_RB_Tree_Node"); 00043 } |
|
Get color of the node.
Definition at line 52 of file RB_Tree.inl. References ACE_TRACE, and ACE_RB_Tree_Node< EXT_ID, INT_ID >::color_.
|
|
|
Item accessor.
Definition at line 30 of file RB_Tree.inl. References ACE_TRACE. Referenced by ACE_RB_Tree< EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK >::find(), ACE_RB_Tree< EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK >::insert_i(), ACE_RB_Tree< EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK >::rebind(), ACE_RB_Tree< EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK >::remove_i(), and ACE_RB_Tree< EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK >::trybind().
|
|
Key accessor.
Definition at line 19 of file RB_Tree.inl. References ACE_TRACE, and ACE_RB_Tree_Node< EXT_ID, INT_ID >::k_. Referenced by ACE_RB_Tree< EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK >::find_node(), ACE_RB_Tree< EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK >::rebind(), and ACE_RB_Tree< EXT_ID, INT_ID, COMPARE_KEYS, ACE_LOCK >::remove_i().
|
|
Mutator for node's left child pointer.
Definition at line 97 of file RB_Tree.inl. References ACE_TRACE, and ACE_RB_Tree_Node< EXT_ID, INT_ID >::left_.
|
|
|
Mutator for node's parent pointer.
Definition at line 74 of file RB_Tree.inl. References ACE_TRACE, and ACE_RB_Tree_Node< EXT_ID, INT_ID >::parent_.
|
|
|
Mutator for node's right child pointer.
Definition at line 119 of file RB_Tree.inl. References ACE_TRACE, and ACE_RB_Tree_Node< EXT_ID, INT_ID >::right_.
|
|
|
Color of the node.
Definition at line 104 of file RB_Tree.h. Referenced by ACE_RB_Tree_Node< EXT_ID, INT_ID >::color(). |
|
The key.
Definition at line 98 of file RB_Tree.h. Referenced by ACE_RB_Tree_Node< EXT_ID, INT_ID >::key(). |
|
Pointer to node's left child.
Definition at line 110 of file RB_Tree.h. Referenced by ACE_RB_Tree_Node< EXT_ID, INT_ID >::left(). |
|
Pointer to node's parent.
Definition at line 107 of file RB_Tree.h. Referenced by ACE_RB_Tree_Node< EXT_ID, INT_ID >::parent(). |
|
Pointer to node's right child.
Definition at line 113 of file RB_Tree.h. Referenced by ACE_RB_Tree_Node< EXT_ID, INT_ID >::right(). |
|
The item.
|