mn::container::rb_tree_node< TVALUE > Struct Template Reference

#include <mn_rb_tree.hpp>

+ Collaboration diagram for mn::container::rb_tree_node< TVALUE >:

Public Member Functions

 rb_tree_node ()
 
 rb_tree_node (rb_tree_node *node)
 
 rb_tree_node (rb_tree_color color_, rb_tree_node *left_, rb_tree_node *right_, rb_tree_node *parent_)
 
 rb_tree_node (const rb_tree_node &other)
 
void swap (rb_tree_node &other)
 

Public Attributes

rb_tree_nodeleft
 
rb_tree_nodeparent
 
rb_tree_noderight
 
TVALUE value
 
rb_tree_color color
 

Constructor & Destructor Documentation

◆ rb_tree_node() [1/4]

template<typename TVALUE >
mn::container::rb_tree_node< TVALUE >::rb_tree_node ( )
inline

◆ rb_tree_node() [2/4]

template<typename TVALUE >
mn::container::rb_tree_node< TVALUE >::rb_tree_node ( rb_tree_node< TVALUE > *  node)
inline

◆ rb_tree_node() [3/4]

template<typename TVALUE >
mn::container::rb_tree_node< TVALUE >::rb_tree_node ( rb_tree_color  color_,
rb_tree_node< TVALUE > *  left_,
rb_tree_node< TVALUE > *  right_,
rb_tree_node< TVALUE > *  parent_ 
)
inline

◆ rb_tree_node() [4/4]

template<typename TVALUE >
mn::container::rb_tree_node< TVALUE >::rb_tree_node ( const rb_tree_node< TVALUE > &  other)
inline

Member Function Documentation

◆ swap()

template<typename TVALUE >
void mn::container::rb_tree_node< TVALUE >::swap ( rb_tree_node< TVALUE > &  other)
inline

Member Data Documentation

◆ color

template<typename TVALUE >
rb_tree_color mn::container::rb_tree_node< TVALUE >::color

◆ left

template<typename TVALUE >
rb_tree_node* mn::container::rb_tree_node< TVALUE >::left

◆ parent

template<typename TVALUE >
rb_tree_node* mn::container::rb_tree_node< TVALUE >::parent

◆ right

template<typename TVALUE >
rb_tree_node* mn::container::rb_tree_node< TVALUE >::right

◆ value

template<typename TVALUE >
TVALUE mn::container::rb_tree_node< TVALUE >::value

The documentation for this struct was generated from the following file: