dune-typetree  2.5-dev
Namespaces | Typedefs | Functions
childextraction.hh File Reference
#include <utility>
#include <dune/common/concept.hh>
#include <dune/common/documentation.hh>
#include <dune/common/typetraits.hh>
#include <dune/common/shared_ptr.hh>
#include <dune/typetree/nodeinterface.hh>
#include <dune/typetree/treepath.hh>

Go to the source code of this file.

Namespaces

 Dune
 
 Dune::TypeTree
 

Typedefs

template<typename Node , std::size_t... indices>
using Dune::TypeTree::Child = typename impl::_Child< Node, indices... >::type
 Template alias for the type of a child node given by a list of child indices. More...
 
template<typename Node , typename TreePath >
using Dune::TypeTree::ChildForTreePath = typename impl::_ChildForTreePath< Node, TreePath >::type
 Template alias for the type of a child node given by a TreePath or a HybridTreePath type. More...
 
template<typename T >
using Dune::TypeTree::is_flat_index = typename impl::_is_flat_index< std::decay_t< T >>::type
 Type trait that determines whether T is a flat index in the context of child extraction. More...
 

Functions

template<typename Node , typename... Indices>
ImplementationDefined Dune::TypeTree::child (Node &&node, Indices... indices)
 Extracts the child of a node given by a sequence of compile-time and run-time indices. More...
 
template<typename Node , std::size_t... Indices>
ImplementationDefined Dune::TypeTree::child (Node &&node, TreePath< Indices... > treePath)
 Extracts the child of a node given by a static TreePath object. More...
 
template<typename Node , std::size_t... Indices>
ImplementationDefined Dune::TypeTree::childStorage (Node &&node, TreePath< Indices... > treePath)
 
template<typename Node , typename... Indices>
ImplementationDefined Dune::TypeTree::child (Node &&node, HybridTreePath< Indices... > treePath)
 Extracts the child of a node given by a HybridTreePath object. More...