ACE_RB_Tree_Node< EXT_ID, INT_ID > Class Template ReferenceImplements a node in a Red-Black Tree ADT. More...
Inheritance diagram for ACE_RB_Tree_Node< EXT_ID, INT_ID >:
Collaboration diagram for ACE_RB_Tree_Node< EXT_ID, INT_ID >:
Detailed Descriptiontemplate<class EXT_ID, class INT_ID>
Implements a node in a Red-Black Tree ADT. |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_RB_Tree_Node< EXT_ID, INT_ID >::ACE_RB_Tree_Node | ( | const EXT_ID & | k, | |
const INT_ID & | t | |||
) | [inline] |
Constructor.
ACE_RB_Tree_Node< EXT_ID, INT_ID >::~ACE_RB_Tree_Node | ( | void | ) | [inline] |
Destructor.
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE EXT_ID & ACE_RB_Tree_Node< EXT_ID, INT_ID >::key | ( | void | ) | [inline] |
Key accessor.
ACE_INLINE INT_ID & ACE_RB_Tree_Node< EXT_ID, INT_ID >::item | ( | void | ) | [inline] |
Item accessor.
ACE_INLINE void ACE_RB_Tree_Node< EXT_ID, INT_ID >::color | ( | ACE_RB_Tree_Node_Base::RB_Tree_Node_Color | c | ) | [inline] |
Set color of the node.
ACE_INLINE ACE_RB_Tree_Node_Base::RB_Tree_Node_Color ACE_RB_Tree_Node< EXT_ID, INT_ID >::color | ( | void | ) | [inline] |
Get color of the node.
ACE_INLINE ACE_RB_Tree_Node< EXT_ID, INT_ID > * ACE_RB_Tree_Node< EXT_ID, INT_ID >::parent | ( | void | ) | [inline] |
Accessor for node's parent pointer.
ACE_INLINE void ACE_RB_Tree_Node< EXT_ID, INT_ID >::parent | ( | ACE_RB_Tree_Node< EXT_ID, INT_ID > * | p | ) | [inline] |
Mutator for node's parent pointer.
ACE_INLINE ACE_RB_Tree_Node< EXT_ID, INT_ID > * ACE_RB_Tree_Node< EXT_ID, INT_ID >::left | ( | void | ) | [inline] |
Accessor for node's left child pointer.
ACE_INLINE void ACE_RB_Tree_Node< EXT_ID, INT_ID >::left | ( | ACE_RB_Tree_Node< EXT_ID, INT_ID > * | l | ) | [inline] |
Mutator for node's left child pointer.
ACE_INLINE ACE_RB_Tree_Node< EXT_ID, INT_ID > * ACE_RB_Tree_Node< EXT_ID, INT_ID >::right | ( | void | ) | [inline] |
Accessor for node's right child pointer.
ACE_INLINE void ACE_RB_Tree_Node< EXT_ID, INT_ID >::right | ( | ACE_RB_Tree_Node< EXT_ID, INT_ID > * | r | ) | [inline] |
Mutator for node's right child pointer.
EXT_ID ACE_RB_Tree_Node< EXT_ID, INT_ID >::k_ [private] |
The key.
INT_ID ACE_RB_Tree_Node< EXT_ID, INT_ID >::t_ [private] |
The item.
RB_Tree_Node_Color ACE_RB_Tree_Node< EXT_ID, INT_ID >::color_ [private] |
Color of the node.
ACE_RB_Tree_Node<EXT_ID, INT_ID>* ACE_RB_Tree_Node< EXT_ID, INT_ID >::parent_ [private] |
Pointer to node's parent.
ACE_RB_Tree_Node<EXT_ID, INT_ID>* ACE_RB_Tree_Node< EXT_ID, INT_ID >::left_ [private] |
Pointer to node's left child.
ACE_RB_Tree_Node<EXT_ID, INT_ID>* ACE_RB_Tree_Node< EXT_ID, INT_ID >::right_ [private] |
Pointer to node's right child.