ProxyNode base class for CompositeNode.
More...
#include <dune/typetree/proxynode.hh>
|
|
std::enable_if< lazy_enabled< k >::value, typenameChild< k >::Type & >::type | child () |
| Returns the i-th child.
|
|
const Child< k >::Type & | child () const |
| Returns the i-th child (const version).
|
|
std::enable_if< lazy_enabled< k >::value, typenameChild< k >::Storage >::type | childStorage () |
| Returns the storage of the i-th child.
|
|
Child< k >::ConstStorage | childStorage () const |
| Returns the storage of the i-th child (const version).
|
|
void | setChild (typename Child< k >::type &child, typename std::enable_if< lazy_enabled< k >::value, void * >::type=0) |
| Sets the i-th child to the passed-in value.
|
|
void | setChild (typename Child< k >::storage_type child, typename std::enable_if< lazy_enabled< k >::value, void * >::type=0) |
| Sets the storage of the i-th child to the passed-in value.
|
|
const ProxiedNode::NodeStorage & | nodeStorage () const |
|
template<typename
Node>
struct Dune::TypeTree::ProxyNodeBase< Node, CompositeNodeTag >
ProxyNode base class for CompositeNode.
◆ ChildTypes
◆ NodeStorage
◆ child() [1/2]
Returns the i-th child.
- Returns
- a reference to the i-th child.
◆ child() [2/2]
Returns the i-th child (const version).
- Returns
- a const reference to the i-th child.
◆ childStorage() [1/2]
Returns the storage of the i-th child.
- Returns
- a copy of the object storing the i-th child.
◆ childStorage() [2/2]
Returns the storage of the i-th child (const version).
This method is only important if the child is stored as some kind of pointer, as this allows the pointee type to become const.
- Returns
- a copy of the object storing the i-th child.
◆ nodeStorage()
◆ setChild() [1/2]
Sets the storage of the i-th child to the passed-in value.
◆ setChild() [2/2]
Sets the i-th child to the passed-in value.
The documentation for this struct was generated from the following file: