|
| template<class Tree, class Child, class TreePath, class ChildIndex, class U> |
| auto | beforeChild (Tree &&, Child &&, TreePath, ChildIndex, U u) const |
| template<class Tree, class Child, class TreePath, class U> |
| std::size_t | beforeChild (Tree &&, Child &&, TreePath, std::size_t, U u) const |
| template<class Tree, class TreePath, class U> |
| auto | leaf (Tree &&, TreePath, U u) const |
| template<typename T, typename TreePath, typename U> |
| auto | pre (T &&, TreePath, const U &u) const |
| | Method for prefix tree traversal.
|
| template<typename T, typename TreePath, typename U> |
| auto | in (T &&, TreePath, const U &u) const |
| | Method for infix tree traversal.
|
| template<typename T, typename TreePath, typename U> |
| auto | post (T &&, TreePath, const U &u) const |
| | Method for postfix tree traversal.
|
| template<typename T, typename TreePath, typename U> |
| auto | leaf (T &&, TreePath, const U &u) const |
| | Method for leaf traversal.
|
| template<typename T, typename Child, typename TreePath, typename ChildIndex, typename U> |
| auto | beforeChild (T &&, Child &&, TreePath, ChildIndex, const U &u) const |
| | Method for parent-child traversal.
|
| template<typename T, typename Child, typename TreePath, typename ChildIndex, typename U> |
| auto | afterChild (T &&, Child &&, TreePath, ChildIndex, const U &u) const |
| | Method for child-parent traversal.
|
template<typename T, typename Child, typename TreePath, typename ChildIndex, typename U>
| auto Dune::TypeTree::Experimental::DefaultHybridVisitor::afterChild |
( |
T && | , |
|
|
Child && | , |
|
|
TreePath | , |
|
|
ChildIndex | , |
|
|
const U & | u ) const |
|
inlineinherited |
Method for child-parent traversal.
This method gets called after visiting a child node.
- Note
- This method gets called even if the child node was not visited because the visitor chose not to do so.
- Parameters
-
| t | The parent node. |
| child | The child node that was visited last (if the visitor did not reject it). |
| treePath | The position of the parent node within the TypeTree. |
| childIndex | The index of the child node in relation to the parent node. |
| u | The carry value from previous visit. |
- Returns
- The result of applying this visitor to u.
template<typename T, typename Child, typename TreePath, typename ChildIndex, typename U>
| auto Dune::TypeTree::Experimental::DefaultHybridVisitor::beforeChild |
( |
T && | , |
|
|
Child && | , |
|
|
TreePath | , |
|
|
ChildIndex | , |
|
|
const U & | u ) const |
|
inlineinherited |
Method for parent-child traversal.
This method gets called before visiting a child node.
- Note
- This method gets called even if the visitor decides not to visit the child in question.
- Parameters
-
| t | The parent node. |
| child | The child node that will (potentially) be visited next. |
| treePath | The position of the parent node within the TypeTree. |
| childIndex | The index of the child node in relation to the parent node. |
| u | The carry value from previous visit. |
- Returns
- The result of applying this visitor to u.