|
dune-functions 2.9.1
|
Loading...
Searching...
No Matches
treedata.hh
Go to the documentation of this file.
36[[deprecated("This is an implementation detail of the deprecated class TreeDate and thus deprecated itself.")]]
void applyToTree(Tree &&tree, Visitor &&visitor)
void destroy(pointer p)
static Type apply(T &t)
std::ptrdiff_t index() const
Mixin for visitors that should apply the same action on all nodes.
Definition treedata.hh:40
void pre(Node &node, TreePath treePath)
Definition treedata.hh:46
void leaf(Node &node, TreePath treePath)
Definition treedata.hh:57
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
Definition treedata.hh:127
InitVisitor(RawContainer &data)
Definition treedata.hh:128
void apply(Node &node, TreePath treePath)
Definition treedata.hh:133
Definition treedata.hh:147
DestroyVisitor(RawContainer &data)
Definition treedata.hh:148
void apply(Node &node, TreePath treePath)
Definition treedata.hh:153
Definition treedata.hh:166
CopyVisitor(TreeData &thisTD, const TreeData &otherTD)
Definition treedata.hh:167
void apply(Node &node, TreePath treePath)
Definition treedata.hh:173
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8