dune-typetree  2.3.1
Public Types | Public Member Functions | List of all members
Dune::TypeTree::VariadicCompositeNode< Children >::Child< k > Struct Template Reference

Access to the type and storage type of the i-th child. More...

#include <dune/typetree/variadiccompositenode.hh>

Public Types

typedef tuple_element< k,
ChildTypes >::type 
Type
 The type of the child. More...
 
typedef tuple_element< k,
ChildTypes >::type 
type
 The type of the child. More...
 
typedef tuple_element< k,
NodeStorage >::type 
Storage
 The storage type of the child. More...
 
typedef shared_ptr< const
typename tuple_element< k,
ChildTypes >::type
ConstStorage
 The const storage type of the child. More...
 

Public Member Functions

 dune_static_assert ((k< CHILDREN),"child index out of range")
 

Detailed Description

template<typename... Children>
template<std::size_t k>
struct Dune::TypeTree::VariadicCompositeNode< Children >::Child< k >

Access to the type and storage type of the i-th child.

Member Typedef Documentation

template<typename... Children>
template<std::size_t k>
typedef shared_ptr<const typename tuple_element<k,ChildTypes>::type> Dune::TypeTree::VariadicCompositeNode< Children >::Child< k >::ConstStorage

The const storage type of the child.

template<typename... Children>
template<std::size_t k>
typedef tuple_element<k,NodeStorage>::type Dune::TypeTree::VariadicCompositeNode< Children >::Child< k >::Storage

The storage type of the child.

template<typename... Children>
template<std::size_t k>
typedef tuple_element<k,ChildTypes>::type Dune::TypeTree::VariadicCompositeNode< Children >::Child< k >::Type

The type of the child.

template<typename... Children>
template<std::size_t k>
typedef tuple_element<k,ChildTypes>::type Dune::TypeTree::VariadicCompositeNode< Children >::Child< k >::type

The type of the child.

Member Function Documentation

template<typename... Children>
template<std::size_t k>
Dune::TypeTree::VariadicCompositeNode< Children >::Child< k >::dune_static_assert ( (k< CHILDREN ,
"child index out of range"   
)

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