Interface for nodes in a dune-typetree.
More...
#include <dune/typetree/nodeinterface.hh>
|
typedef ImplementationDefined | NodeTag |
| The type tag that describes what kind of node this is.
|
|
typedef ImplementationDefined | NodeStorage |
| container type to pass around a collection of children
|
|
Interface for nodes in a dune-typetree.
This class cannot be used itself, it is for documentation purposes only.
- Note
- Constructor signatures are explicitly not specified by this interface.
-
In addition, every node in a tree must be derived from one of the node base classes LeafNode, PowerNode, DynamicPowerNodeTag, or CompositeNode, or from a base class for a yet-to-be-defined new node type.
◆ NodeStorage
container type to pass around a collection of children
- Note
- This typedef is not present for leaf nodes.
◆ NodeTag
◆ CHILDREN
const std::size_t Dune::TypeTree::NodeInterface::CHILDREN = implementationDefined |
|
static |
Number of children of this node in the dune-typetree.
- Note
- Might not be implemented for nodes with dynamic size. Use the function
node.degree()
or degree(node)
instead.
◆ isComposite
const bool Dune::TypeTree::NodeInterface::isComposite = implementationDefined |
|
static |
◆ isLeaf
const bool Dune::TypeTree::NodeInterface::isLeaf = implementationDefined |
|
static |
◆ isPower
const bool Dune::TypeTree::NodeInterface::isPower = implementationDefined |
|
static |
The documentation for this struct was generated from the following file: