|
| template<typename Tree , typename TreePath , typename U > |
| auto | pre (Tree &&tree, TreePath treePath, U u) const |
| |
| 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 childIndex, U u) const |
| |
| template<typename T , typename Child , typename TreePath , typename ChildIndex , typename U > |
| auto | beforeChild (T &&t, Child &&child, TreePath treePath, ChildIndex childIndex, const U &u) const |
| | Method for parent-child traversal. More...
|
| |
| template<class Tree , class TreePath , class U > |
| auto | leaf (Tree &&, TreePath, U u) const |
| |
| template<typename T , typename TreePath , typename U > |
| auto | leaf (T &&t, TreePath treePath, const U &u) const |
| | Method for leaf traversal. More...
|
| |
| template<typename T , typename TreePath , typename U > |
| auto | pre (T &&t, TreePath treePath, const U &u) const |
| | Method for prefix tree traversal. More...
|
| |
| template<typename T , typename TreePath , typename U > |
| auto | in (T &&t, TreePath treePath, const U &u) const |
| | Method for infix tree traversal. More...
|
| |
| template<typename T , typename TreePath , typename U > |
| auto | post (T &&t, TreePath treePath, const U &u) const |
| | Method for postfix tree traversal. More...
|
| |
| template<typename T , typename Child , typename TreePath , typename ChildIndex , typename U > |
| auto | afterChild (T &&t, Child &&child, TreePath treePath, ChildIndex childIndex, const U &u) const |
| | Method for child-parent traversal. More...
|
| |
template<typename T , typename Child , typename TreePath , typename ChildIndex , typename U >
| auto Dune::TypeTree::Experimental::DefaultHybridVisitor::afterChild |
( |
T && |
t, |
|
|
Child && |
child, |
|
|
TreePath |
treePath, |
|
|
ChildIndex |
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 && |
t, |
|
|
Child && |
child, |
|
|
TreePath |
treePath, |
|
|
ChildIndex |
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.