Yggdrasill  0.2
Public Member Functions | Protected Attributes | Friends | List of all members
ygg::bst::BSTNodeBase< Node, Tag, ParentContainer > Class Template Reference

Public Member Functions

void set_parent (Node *new_parent) noexcept
 
Node * get_parent () const noexcept
 
template<class InnerPC = ParentContainer>
std::enable_if_t< InnerPC::parent_reference, Node *& > get_parent () const noexcept
 
void set_left (Node *new_left) noexcept
 
void set_right (Node *new_right) noexcept
 
Node *& get_left () noexcept
 
Node *& get_right () noexcept
 
Node *const & get_left () const noexcept
 
Node *const & get_right () const noexcept
 
size_t get_depth () const noexcept
 

Protected Attributes

Node * _bst_children [2]
 
ParentContainer _bst_parent
 

Friends

template<class InnerNode >
InnerNode * utilities::go_right_if (bool cond, InnerNode *parent)
 
template<class InnerNode >
InnerNode * utilities::go_left_if (bool cond, InnerNode *parent)
 

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