dune-typetree 2.11
Loading...
Searching...
No Matches
Dune::TypeTree::ProxyNodeBase< Node, CompositeNodeTag > Struct Template Reference

ProxyNode base class for CompositeNode. More...

#include <dune/typetree/proxynode.hh>

Inheritance diagram for Dune::TypeTree::ProxyNodeBase< Node, CompositeNodeTag >:
Inheritance graph

Public Types

typedef Node::ChildTypes ChildTypes
typedef Node::NodeStorage NodeStorage

Public Member Functions

Child Access
auto & child (index_constant< k >={})
 Returns the i-th child.
auto childStorage (index_constant< k >={})
 Returns the storage of the i-th child.
void setChild (ProxyChild &&child, typename std::enable_if< lazy_enabled< k >::value, void * >::type=0)
 Sets the i-th child to the passed-in value.
const Node::NodeStorage & nodeStorage () const

Detailed Description

template<typename Node>
struct Dune::TypeTree::ProxyNodeBase< Node, CompositeNodeTag >

ProxyNode base class for CompositeNode.

Member Typedef Documentation

◆ ChildTypes

template<typename Node>
typedef Node::ChildTypes Dune::TypeTree::ProxyNodeBase< Node, CompositeNodeTag >::ChildTypes

◆ NodeStorage

template<typename Node>
typedef Node::NodeStorage Dune::TypeTree::ProxyNodeBase< Node, CompositeNodeTag >::NodeStorage

Member Function Documentation

◆ child()

auto & Dune::TypeTree::StaticChildAccessors< Node >::child ( index_constant< k > = {})
inlineinherited

Returns the i-th child.

Returns
a reference to the i-th child.

◆ childStorage()

auto Dune::TypeTree::StaticChildAccessors< Node >::childStorage ( index_constant< k > = {})
inlineinherited

Returns the storage of the i-th child.

Returns
a copy of the object storing the i-th child.

◆ nodeStorage()

const Node::NodeStorage & Dune::TypeTree::StaticChildAccessors< Node >::nodeStorage ( ) const
inlineinherited

◆ setChild()

void Dune::TypeTree::StaticChildAccessors< Node >::setChild ( ProxyChild && child,
typename std::enable_if< lazy_enabled< k >::value, void * >::type = 0 )
inlineinherited

Sets the i-th child to the passed-in value.


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