Dune Core Modules (2.9.0)

Base class for leaf nodes in a dune-typetree. More...

#include <dune/typetree/leafnode.hh>

Public Types

typedef LeafNodeTag NodeTag
 The type tag that describes a LeafNode.
 

Static Public Attributes

static const bool isLeaf = true
 Mark this class as a leaf in a dune-typetree.
 
static const bool isPower = false
 Mark this class as a non power in the dune-typetree.
 
static const bool isComposite = false
 Mark this class as a non composite in the dune-typetree.
 
static const std::size_t CHILDREN = 0
 Leafs have no children.
 

Protected Member Functions

 LeafNode ()
 Default constructor. More...
 

Detailed Description

Base class for leaf nodes in a dune-typetree.

Every leaf type in a dune-typetree must be derived from this class.

Constructor & Destructor Documentation

◆ LeafNode()

Dune::TypeTree::LeafNode::LeafNode ( )
inlineprotected

Default constructor.

The default constructor is protected, as LeafNode is a utility class that needs to be filled with meaning by subclassing it and adding useful functionality to the subclass.


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.80.0 (Mar 28, 23:30, 2024)