dune-typetree  2.3.1
nodeinterface.hh
Go to the documentation of this file.
1 // -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=8 sw=2 sts=2:
3 
4 #ifndef DUNE_TYPETREE_NODEINTERFACE_HH
5 #define DUNE_TYPETREE_NODEINTERFACE_HH
6 
7 #include <cstddef>
8 
9 #include <dune/common/documentation.hh>
10 
11 namespace Dune {
12  namespace TypeTree {
13 
32  {
34  static const bool isLeaf = implementationDefined;
35 
37  static const bool isPower = implementationDefined;
38 
40  static const bool isComposite = implementationDefined;
41 
43  static const std::size_t CHILDREN = implementationDefined;
44 
46 
51  typedef ImplementationDefined NodeTag;
52 
54 
57  typedef ImplementationDefined NodeStorage;
58  };
59 
61 
62  } // namespace TypeTree
63 } //namespace Dune
64 
65 #endif // DUNE_TYPETREE_NODEINTERFACE_HH
ImplementationDefined NodeStorage
container type to pass around a collection of children
Definition: nodeinterface.hh:57
static const bool isLeaf
Whether this is a leaf node in a dune-typetree.
Definition: nodeinterface.hh:34
static const bool isPower
Whether this is a power node in the dune-typetree.
Definition: nodeinterface.hh:37
static const std::size_t CHILDREN
Number of children of this node in the dune-typetree.
Definition: nodeinterface.hh:43
static const bool isComposite
Whether this is a composite node in the dune-typetree.
Definition: nodeinterface.hh:40
Interface for nodes in a dune-typetree.
Definition: nodeinterface.hh:31
ImplementationDefined NodeTag
The type tag that describes what kind of node this is.
Definition: nodeinterface.hh:51