aimstil
5.0.5
|
Internal class used inside binary tree. More...
#include <cathier/binary_tree.h>
Public Types | |
typedef T | value_type |
Public Member Functions | |
Node () | |
Default constructor, set everything to zero. More... | |
Node (const T &value) | |
Constructor with a single value: collect value and set branches to zero. More... | |
const T & | operator() () const |
T & | operator() () |
const T & | get () const |
T & | get () |
Node * | child (std::size_t i) const |
Returns a pointer on the n-th child. More... | |
Node *& | child (std::size_t i) |
Returns a pointer on the n-th child. More... | |
void | operator= (const T &value) |
Internal class used inside binary tree.
This class is a private class, theoretically you should not have to know anything about it to use trees, the same way you probably haven't heard of _List_node even though you have been using a GNU implementation of std::list.
Definition at line 116 of file binary_tree.h.
typedef T til::NaryTree< T, N >::Node::value_type |
Definition at line 120 of file binary_tree.h.
|
inline |
Default constructor, set everything to zero.
Definition at line 125 of file binary_tree.h.
|
inlineexplicit |
Constructor with a single value: collect value and set branches to zero.
Definition at line 133 of file binary_tree.h.
|
inline |
Returns a pointer on the n-th child.
Definition at line 149 of file binary_tree.h.
References til::size().
|
inline |
Returns a pointer on the n-th child.
Definition at line 156 of file binary_tree.h.
References til::size().
|
inline |
Definition at line 145 of file binary_tree.h.
|
inline |
Definition at line 146 of file binary_tree.h.
|
inline |
Definition at line 142 of file binary_tree.h.
|
inline |
Definition at line 143 of file binary_tree.h.
|
inline |
Definition at line 162 of file binary_tree.h.
References til::operator*().