Dune Core Modules (2.9.0)
treedata.hh
36[[deprecated("This is an implementation detail of the deprecated class TreeDate and thus deprecated itself.")]]
Container allowing to attach data to each node of a tree.
Definition: treedata.hh:95
TreeData(const TreeData &other)
Copy constructor.
Definition: treedata.hh:205
void init(const Tree &tree)
Initialize from tree.
Definition: treedata.hh:196
T Tree
Type of tree the data is associated with.
Definition: treedata.hh:100
const NodeData< Node > & operator[](const Node &node) const
Get reference to data associated to given node.
Definition: treedata.hh:246
TreeData & operator=(const TreeData &other)
Copy assignment.
Definition: treedata.hh:213
ND< Node > NodeData
Template to determine the data type for given node type.
Definition: treedata.hh:110
NodeData< Node > & operator[](const Node &node)
Get mutable reference to data associated to given node.
Definition: treedata.hh:239
typename Tree::size_type size_type
Type used for indices and size information.
Definition: treedata.hh:103
constexpr HybridTreePath< T... > treePath(const T &... t)
Constructs a new HybridTreePath from the given indices.
Definition: treepath.hh:191
void applyToTree(Tree &&tree, Visitor &&visitor)
Apply visitor to TypeTree.
Definition: traversal.hh:237
Mixin for visitors that should apply the same action on all nodes.
Definition: treedata.hh:40
Mixin base class for visitors that only need a dynamic TreePath during traversal.
Definition: visitor.hh:424
Convenience base class for visiting the entire tree.
Definition: visitor.hh:433
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)