#include <genesis/tree/iterator/preorder.hpp>
Definition at line 61 of file tree/iterator/preorder.hpp.
Public Member Functions | |
IteratorPreorder () | |
IteratorPreorder (IteratorPreorder &&)=default | |
IteratorPreorder (IteratorPreorder const &)=default | |
IteratorPreorder (LinkType &link) | |
Start a preorder traversal at a given TreeLink, moving in the direction of the link first. More... | |
IteratorPreorder (NodeType &node) | |
Start a preorder traversal at the given TreeNode, moving in the root direction first. More... | |
IteratorPreorder (SubtreeType &subtree) | |
Start a preorder traversal at the top TreeNode of a Subtree, only traversing the nodes in the subtree. More... | |
IteratorPreorder (TreeType &tree) | |
Start a preorder traversal at the root of the given Tree. More... | |
~IteratorPreorder ()=default | |
EdgeType & | edge () const |
bool | is_first_iteration () const |
LinkType & | link () const |
NodeType & | node () const |
bool | operator!= (const self_type &other) const |
self_type | operator* () |
self_type | operator++ () |
self_type | operator++ (int) |
IteratorPreorder & | operator= (IteratorPreorder &&)=default |
IteratorPreorder & | operator= (IteratorPreorder const &)=default |
bool | operator== (const self_type &other) const |
LinkType & | start_link () const |
NodeType & | start_node () const |
Public Types | |
using | EdgeType = typename std::conditional< is_const, TreeEdge const, TreeEdge >::type |
using | iterator_category = std::forward_iterator_tag |
using | LinkType = typename std::conditional< is_const, TreeLink const, TreeLink >::type |
using | NodeType = typename std::conditional< is_const, TreeNode const, TreeNode >::type |
using | self_type = IteratorPreorder< is_const > |
using | SubtreeType = typename std::conditional< is_const, Subtree const, Subtree >::type |
using | TreeType = typename std::conditional< is_const, Tree const, Tree >::type |
|
inline |
Definition at line 88 of file tree/iterator/preorder.hpp.
|
inlineexplicit |
Start a preorder traversal at the root of the given Tree.
Definition at line 96 of file tree/iterator/preorder.hpp.
|
inlineexplicit |
Start a preorder traversal at the given TreeNode, moving in the root direction first.
Definition at line 103 of file tree/iterator/preorder.hpp.
|
inlineexplicit |
Start a preorder traversal at a given TreeLink, moving in the direction of the link first.
Definition at line 110 of file tree/iterator/preorder.hpp.
|
inlineexplicit |
Start a preorder traversal at the top TreeNode of a Subtree, only traversing the nodes in the subtree.
Definition at line 129 of file tree/iterator/preorder.hpp.
|
default |
|
default |
|
default |
|
inline |
Definition at line 211 of file tree/iterator/preorder.hpp.
|
inline |
Definition at line 196 of file tree/iterator/preorder.hpp.
|
inline |
Definition at line 201 of file tree/iterator/preorder.hpp.
|
inline |
Definition at line 206 of file tree/iterator/preorder.hpp.
|
inline |
Definition at line 187 of file tree/iterator/preorder.hpp.
|
inline |
Definition at line 150 of file tree/iterator/preorder.hpp.
|
inline |
Definition at line 155 of file tree/iterator/preorder.hpp.
|
inline |
Definition at line 175 of file tree/iterator/preorder.hpp.
|
default |
|
default |
|
inline |
Definition at line 182 of file tree/iterator/preorder.hpp.
|
inline |
Definition at line 216 of file tree/iterator/preorder.hpp.
|
inline |
Definition at line 221 of file tree/iterator/preorder.hpp.
Definition at line 74 of file tree/iterator/preorder.hpp.
using iterator_category = std::forward_iterator_tag |
Definition at line 78 of file tree/iterator/preorder.hpp.
Definition at line 72 of file tree/iterator/preorder.hpp.
Definition at line 73 of file tree/iterator/preorder.hpp.
using self_type = IteratorPreorder< is_const > |
Definition at line 77 of file tree/iterator/preorder.hpp.
using SubtreeType = typename std::conditional< is_const, Subtree const, Subtree >::type |
Definition at line 75 of file tree/iterator/preorder.hpp.
Definition at line 71 of file tree/iterator/preorder.hpp.