dune-functions 2.9.0
|
Mixin for visitors that should apply the same action on all nodes. More...
#include <dune/functions/common/treedata.hh>
Public Member Functions | |
template<typename Node , typename TreePath , typename std::enable_if<(not leafOnly) and(not Node::isLeaf), int >::type = 0> | |
void | pre (Node &node, TreePath treePath) |
template<typename Node , typename TreePath , typename std::enable_if<(leafOnly) and(not Node::isLeaf), int >::type = 0> | |
void | pre (Node &node, TreePath treePath) |
template<typename Node , typename TreePath > | |
void | leaf (Node &node, TreePath treePath) |
Mixin for visitors that should apply the same action on all nodes.
By deriving from this you only have to implement apply(node,treepath) in the derived class. This will be used for pre(...) and leaf(...).
Derived | Type of derived class implementing apply(node,treepath) |
leafOnly | Flag to enable leaf only traversal |
|
inline |
|
inline |
|
inline |