DUNE PDELab (2.8)

Dune::TypeTree::ProxyNode< Node > Class Template Reference

Base class for nodes acting as a proxy for an existing node. More...

#include <dune/typetree/proxynode.hh>

Static Public Attributes

static const bool isLeaf = Node::isLeaf
 Mark this class as non leaf in the dune-typetree.
 
static const bool isPower = Node::isPower
 Mark this class as a non power in the dune-typetree.
 
static const bool isComposite = Node::isComposite
 Mark this class as a composite in the dune-typetree.
 
static const std::size_t CHILDREN = StaticDegree<Node>::value
 The number of children.
 

Protected Member Functions

Access to the proxied node
template<bool enabled = !proxiedNodeIsConst>
std::enable_if< enabled, Node & >::type proxiedNode ()
 Returns the proxied node.
 
const Node & proxiedNode () const
 Returns the proxied node (const version).
 
template<bool enabled = !proxiedNodeIsConst>
std::enable_if< enabled, std::shared_ptr< Node > >::type proxiedNodeStorage ()
 Returns the storage of the proxied node.
 
std::shared_ptr< const Node > proxiedNodeStorage () const
 Returns the storage of the proxied node (const version).
 
Constructors
 ProxyNode (Node &node)
 
 ProxyNode (std::shared_ptr< Node > node)
 

Detailed Description

template<typename Node>
class Dune::TypeTree::ProxyNode< Node >

Base class for nodes acting as a proxy for an existing node.

ProxyNode is a utility class for implementing proxy classes that need to provide the TypeTree node functionality of the proxied class. It exactly mirrors the TypeTree node characteristics of the proxied node.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)