dune-typetree  2.7.1
Public Member Functions | List of all members
Dune::TypeTree::Detail::ContainerFactory< LeafToValue > Class Template Reference

#include <dune/typetree/treecontainer.hh>

Public Member Functions

 ContainerFactory (LeafToValue leafToValue)
 Create ContainerFactory. More...
 
template<class Node , std::enable_if_t< Node::isLeaf, int > = 0>
auto operator() (const Node &node)
 
template<class Node , std::enable_if_t< Node::isPower, int > = 0>
auto operator() (const Node &node)
 
template<class Node , std::enable_if_t< Node::isComposite, int > = 0>
auto operator() (const Node &node)
 

Constructor & Destructor Documentation

◆ ContainerFactory()

template<class LeafToValue >
Dune::TypeTree::Detail::ContainerFactory< LeafToValue >::ContainerFactory ( LeafToValue  leafToValue)
inline

Create ContainerFactory.

The given predicate will be stored by value.

Parameters
Apredicate used to generate the stored values for the leaves

Member Function Documentation

◆ operator()() [1/3]

template<class LeafToValue >
template<class Node , std::enable_if_t< Node::isLeaf, int > = 0>
auto Dune::TypeTree::Detail::ContainerFactory< LeafToValue >::operator() ( const Node &  node)
inline

◆ operator()() [2/3]

template<class LeafToValue >
template<class Node , std::enable_if_t< Node::isPower, int > = 0>
auto Dune::TypeTree::Detail::ContainerFactory< LeafToValue >::operator() ( const Node &  node)
inline

◆ operator()() [3/3]

template<class LeafToValue >
template<class Node , std::enable_if_t< Node::isComposite, int > = 0>
auto Dune::TypeTree::Detail::ContainerFactory< LeafToValue >::operator() ( const Node &  node)
inline

The documentation for this class was generated from the following file: