|
| | VararyNode ()=default |
| | Default constructor. Sets the vector of children to empty vector. More...
|
| |
| | VararyNode (ext::ptr_vector< Data > c) |
| | Constructor from vector of child nodes. More...
|
| |
| | ~VararyNode () noexcept override=default |
| | Destructor of the class. More...
|
| |
| | VararyNode (const VararyNode &other) |
| | Copy constructor of the class. More...
|
| |
| | VararyNode (VararyNode &&other) noexcept |
| | Move constructor of the class. More...
|
| |
| VararyNode & | operator= (const VararyNode &other) |
| | Copy operator of assignment. More...
|
| |
| VararyNode & | operator= (VararyNode &&other) noexcept |
| | Move operator of assignment. More...
|
| |
| const ext::ptr_vector< Data > & | getChildren () & |
| | Getter of the vector of children. More...
|
| |
| const ext::ptr_vector< Data > & | getChildren () const & |
| | Getter of the vector of children. More...
|
| |
| ext::ptr_vector< Data > && | getChildren () && |
| | Getter of the child nodes. More...
|
| |
| void | setChildren (ext::ptr_vector< Data > c) |
| | Setter of the vector of children. More...
|
| |
| Data & | getChild (size_t index) |
| | Getter of the child at given index. More...
|
| |
| const Data & | getChild (size_t index) const |
| | Getter of the child at given index. More...
|
| |
| template<class PositionIterator > |
| void | setChild (const Data &d, PositionIterator it) |
| | Setter of the single child of the node. More...
|
| |
| template<class PositionIterator > |
| void | setChild (Data &&d, PositionIterator it) |
| | Setter of the single child of the node. More...
|
| |
| void | setChild (const Data &d, size_t index) |
| | Setter of the single child of the node. More...
|
| |
| void | setChild (Data &&d, size_t index) |
| | Setter of the single child of the node. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | insert (typename ext::ptr_vector< Data >::reverse_iterator it, const Data &d) |
| | Inserts a new child at position specified by iterator. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | insert (typename ext::ptr_vector< Data >::const_reverse_iterator it, const Data &d) |
| | Inserts a new child at position specified by iterator. More...
|
| |
| ext::ptr_vector< Data >::iterator | insert (typename ext::ptr_vector< Data >::iterator it, const Data &d) |
| | Inserts a new child at position specified by iterator. More...
|
| |
| ext::ptr_vector< Data >::iterator | insert (typename ext::ptr_vector< Data >::const_iterator it, const Data &d) |
| | Inserts a new child at position specified by iterator. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | insert (typename ext::ptr_vector< Data >::reverse_iterator it, Data &&d) |
| | Inserts a new child at position specified by iterator. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | insert (typename ext::ptr_vector< Data >::const_reverse_iterator it, Data &&d) |
| | Inserts a new child at position specified by iterator. More...
|
| |
| ext::ptr_vector< Data >::iterator | insert (typename ext::ptr_vector< Data >::iterator it, Data &&d) |
| | Inserts a new child at position specified by iterator. More...
|
| |
| ext::ptr_vector< Data >::iterator | insert (typename ext::ptr_vector< Data >::const_iterator it, Data &&d) |
| | Inserts a new child at position specified by iterator. More...
|
| |
| template<class InputIterator > |
| ext::ptr_vector< Data >::reverse_iterator | insert (typename ext::ptr_vector< Data >::const_reverse_iterator it, InputIterator first, InputIterator last) |
| | Inserts a new children from a given range at position specified by iterator. More...
|
| |
| template<class InputIterator > |
| ext::ptr_vector< Data >::reverse_iterator | insert (typename ext::ptr_vector< Data >::reverse_iterator it, InputIterator first, InputIterator last) |
| | Inserts a new children from a given range at position specified by iterator. More...
|
| |
| template<class InputIterator > |
| ext::ptr_vector< Data >::iterator | insert (typename ext::ptr_vector< Data >::const_iterator it, InputIterator first, InputIterator last) |
| | Inserts a new children from a given range at position specified by iterator. More...
|
| |
| template<class InputIterator > |
| ext::ptr_vector< Data >::iterator | insert (typename ext::ptr_vector< Data >::iterator it, InputIterator first, InputIterator last) |
| | Inserts a new children from a given range at position specified by iterator. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | erase (typename ext::ptr_vector< Data >::reverse_iterator it) |
| | Erases a child specified by an iterator. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | erase (typename ext::ptr_vector< Data >::const_reverse_iterator it) |
| | Erases a child specified by an iterator. More...
|
| |
| ext::ptr_vector< Data >::iterator | erase (typename ext::ptr_vector< Data >::iterator it) |
| | Erases a child specified by an iterator. More...
|
| |
| ext::ptr_vector< Data >::iterator | erase (typename ext::ptr_vector< Data >::const_iterator it) |
| | Erases a child specified by an iterator. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | erase (typename ext::ptr_vector< Data >::reverse_iterator first, typename ext::ptr_vector< Data >::reverse_iterator last) |
| | Erases a range of children specified by an iterator. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | erase (typename ext::ptr_vector< Data >::const_reverse_iterator first, typename ext::ptr_vector< Data >::const_reverse_iterator last) |
| | Erases a range of children specified by an iterator. More...
|
| |
| ext::ptr_vector< Data >::iterator | erase (typename ext::ptr_vector< Data >::iterator first, typename ext::ptr_vector< Data >::iterator last) |
| | Erases a range of children specified by an iterator. More...
|
| |
| ext::ptr_vector< Data >::iterator | erase (typename ext::ptr_vector< Data >::const_iterator first, typename ext::ptr_vector< Data >::const_iterator last) |
| | Erases a range of children specified by an iterator. More...
|
| |
| void | clear () |
| | Erases all children. More...
|
| |
| void | pushBackChild (const Data &d) |
| | Appends a new child at the end of the child vector. More...
|
| |
| void | pushBackChild (Data &&d) |
| | Appends a new child at the end of the child vector. More...
|
| |
| ext::ptr_vector< Data >::iterator | begin () |
| | Getter of an iterator to the begining of children vector. More...
|
| |
| ext::ptr_vector< Data >::const_iterator | begin () const |
| | Getter of an iterator to the begining of children vector. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | rbegin () |
| | Getter of an iterator to the begining of children vector. More...
|
| |
| ext::ptr_vector< Data >::const_reverse_iterator | rbegin () const |
| | Getter of an iterator to the begining of children vector. More...
|
| |
| ext::ptr_vector< Data >::iterator | end () |
| | Getter of an iterator to the end of children vector. More...
|
| |
| ext::ptr_vector< Data >::const_iterator | end () const |
| | Getter of an iterator to the end of children vector. More...
|
| |
| ext::ptr_vector< Data >::reverse_iterator | rend () |
| | Getter of an iterator to the end of children vector. More...
|
| |
| ext::ptr_vector< Data >::const_reverse_iterator | rend () const |
| | Getter of an iterator to the end of children vector. More...
|
| |
template<class Data, class Base = Data>
class ext::VararyNode< Data, Base >
Varary node is tree node that can hold any number of 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 |