TreeNode< DataType > Class Template Reference
Inheritance diagram for TreeNode< DataType >:

Public Types

using iterator = typename impl_type::iterator
 
using const_iterator = typename impl_type::const_iterator
 

Public Member Functions

auto begin () noexcept
 
auto begin () const noexcept
 
auto cbegin () const noexcept
 
auto end () noexcept
 
auto end () const noexcept
 
auto cend () const noexcept
 
 TreeNode (const TreeNode &other) noexcept
 
 TreeNode (TreeNode &&other) noexcept
 
TreeNodeoperator= (const TreeNode &source) noexcept
 
TreeNodeoperator= (TreeNode &&source) noexcept
 
 TreeNode (DataType data, TreeNode *parent) noexcept
 
 TreeNode (TreeNode source, TreeNode *parent) noexcept
 
void push_back (const TreeNode &child) noexcept
 
void push_back (TreeNode &&child) noexcept
 
template<typename... Args>
auto & emplace_back (Args &&... args) noexcept
 
template<typename... Args>
auto & insert (Args &&... args) noexcept
 
template<typename... Args>
auto & emplace (Args &&... args) noexcept
 
TreeNodeparent () const noexcept
 
bool hasChild (std::size_t index) const noexcept
 
TreeNodechildAt (int index) noexcept
 
const TreeNodechildAt (int index) const noexcept
 
int indexOfChild (const TreeNode *child) const noexcept
 
auto iterOfChild (const TreeNode *child) noexcept
 
int childCount () const noexcept
 
bool hasChildren () const noexcept
 
const auto & children () const noexcept
 
auto takeChildren () noexcept
 
void moveChildren (TreeNode &newParent) noexcept
 
void reserve (std::size_t s) noexcept
 
void resize (std::size_t s) noexcept
 
auto erase (const_iterator it) noexcept
 
auto erase (const_iterator it_beg, const_iterator it_end) noexcept
 
void setParent (TreeNode *parent) noexcept
 
template<typename Fun >
void visit (Fun f) const noexcept(noexcept(f(std::declval< TreeNode >())))
 

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