|
dune-typetree 2.12-git
|
Loading...
Searching...
No Matches
traversal.hh File Reference
#include <utility>#include <dune/common/hybridutilities.hh>#include <dune/common/indices.hh>#include <dune/common/std/type_traits.hh>#include <dune/common/typetree/childaccess.hh>#include <dune/common/typetree/nodeconcepts.hh>#include <dune/common/typetree/traversal.hh>#include <dune/typetree/treepath.hh>#include <dune/typetree/visitor.hh>Go to the source code of this file.
Namespaces | |
| namespace | Dune |
| namespace | Dune::TypeTree |
| namespace | Dune::TypeTree::Detail |
Typedefs | |
| template<class Tree > | |
| using | Dune::TypeTree::Detail::DynamicTraversalConcept = decltype((std::declval< Tree >().degree(), std::declval< Tree >().child(0u))) |
| template<class Tree > | |
| using | Dune::TypeTree::Detail::StaticTraversalConcept = decltype((std::integral_constant< std::size_t, Tree::degree()>{})) |
Functions | |
| template<class Tree , TreePathType::Type pathType, class Prefix , std::enable_if_t< Tree::isLeaf, int > = 0> | |
| constexpr auto | Dune::TypeTree::Detail::leafTreePathTuple (Prefix prefix) |
| template<class Tree , TreePathType::Type pathType, class Prefix , std::size_t... indices, std::enable_if_t<(Tree::isComposite or(Tree::isPower and(pathType!=TreePathType::dynamic))), int > = 0> | |
| constexpr auto | Dune::TypeTree::Detail::leafTreePathTuple (Prefix prefix, std::index_sequence< indices... >) |
| template<class T , class TreePath , class V , std::enable_if_t< std::decay_t< T >::isLeaf, int > = 0> | |
| void | Dune::TypeTree::Detail::applyToTree (T &&tree, TreePath treePath, V &&visitor) |
| template<class Tree , TreePathType::Type pathType = TreePathType::dynamic> | |
| constexpr auto | Dune::TypeTree::leafTreePathTuple () |
| Create tuple of tree paths to leafs. | |
| template<Concept::TreeNode Tree, typename Visitor > | |
| void | Dune::TypeTree::applyToTree (Tree &&tree, Visitor &&visitor) |
| Apply visitor to TypeTree. | |
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8