|
| TernaryNode (const Data &f, const Data &s, const Data &t) |
| Constructor of the class accepting the three child nodes. More...
|
|
| TernaryNode (Data &&f, Data &&s, Data &&t) |
| Constructor of the class accepting the three child nodes. More...
|
|
Data & | getFirst () |
| Getter of the first child of the node. More...
|
|
const Data & | getFirst () const |
| Getter of the first child of the node. More...
|
|
void | setFirst (const Data &f) |
| Setter of the first child of the node. More...
|
|
void | setFirst (Data &&f) |
| Setter of the first child of the node. More...
|
|
Data & | getSecond () |
| Getter of the second child of the node. More...
|
|
const Data & | getSecond () const |
| Getter of the second child of the node. More...
|
|
void | setSecond (const Data &s) |
| Setter of the second child of the node. More...
|
|
void | setSecond (Data &&s) |
| Setter of the second child of the node. More...
|
|
Data & | getThird () |
| Getter of the third child of the node. More...
|
|
const Data & | getThird () const |
| Getter of the third child of the node. More...
|
|
void | setThird (const Data &t) |
| Setter of the third child of the node. More...
|
|
void | setThird (Data &&t) |
| Setter of the third child of the node. More...
|
|
| AnyaryNode (ext::ptr_array< Data, arity > c) |
| Constructor based on array of child nodes. More...
|
|
| AnyaryNode (const AnyaryNode &other) |
| Copy constructor. More...
|
|
| AnyaryNode (AnyaryNode &&other) noexcept |
| Move constructor. More...
|
|
| ~AnyaryNode () noexcept override=default |
| Destructor of the class. More...
|
|
AnyaryNode & | operator= (const AnyaryNode &other) |
| Copy operator of assignment. More...
|
|
AnyaryNode & | operator= (AnyaryNode &&other) noexcept |
| move operator of assignment. More...
|
|
const ext::ptr_array< Data, arity > & | getChildren () & |
| Getter of the child nodes. More...
|
|
const ext::ptr_array< Data, arity > & | getChildren () const & |
| Getter of the child nodes. More...
|
|
ext::ptr_array< Data, arity > && | getChildren () && |
| Getter of the child nodes. More...
|
|
const Data & | getChild () const |
| Getter of the child node based on compile time index. More...
|
|
Data & | getChild () |
| Getter of the child node based on compile time index. More...
|
|
void | setChildren (ext::ptr_array< Data, arity > c) |
| Setter of the child nodes. More...
|
|
void | setChild (const Data &d) |
| Setter of the child node based on compile time index. More...
|
|
void | setChild (Data &&d) |
| Setter of the child node based on compile time index. More...
|
|
ext::ptr_array< Data, arity >::iterator | begin () |
| Getter of an iterator to the begining of children array. More...
|
|
ext::ptr_array< Data, arity >::const_iterator | begin () const |
| Getter of an iterator to the begining of children array. More...
|
|
ext::ptr_array< Data, arity >::iterator | end () |
| Getter of an iterator to the end of children array. More...
|
|
ext::ptr_array< Data, arity >::const_iterator | end () const |
| Getter of an iterator to the end of children array. More...
|
|
template<class Data, class Base = Data>
class ext::TernaryNode< Data, Base >
Ternany node is specialisation of Anyary node to three children.
- Template Parameters
-
Data | the base class of the actual tree nodes hierarchy on top of this one |
Base | the actual class from the actual tree nodes hierarchy |