Predator
[unstable] git snapshot
|
useful to prevent a trace sub-graph from being destroyed too early More...
#include <symtrace.hh>
Public Member Functions | |
NodeHandle (Node *ref) | |
initialize the handle with the given node, can be reset later | |
Node * | node () const |
return the node stored within this handle | |
void | reset (Node *) |
release the old node and re-initialize the handle with the new one | |
NodeHandle (const NodeHandle &tpl) | |
overridden copy constructor keeping the semantics of a handle | |
NodeHandle & | operator= (const NodeHandle &tpl) |
overridden assignment operator keeping the semantics of a handle | |
virtual Node * | parent () const |
this can be called only on nodes with exactly one parent | |
const TNodeList & | parents () const |
reference to list of parents (containing 0..n pointers) |
Protected Attributes | |
TNodeList | parents_ |
list of all (0..n) parent nodes |
useful to prevent a trace sub-graph from being destroyed too early
Definition at line 183 of file symtrace.hh.
|
inline |
initialize the handle with the given node, can be reset later
Definition at line 186 of file symtrace.hh.
References Node::notifyBirth().
|
inline |
overridden copy constructor keeping the semantics of a handle
Definition at line 201 of file symtrace.hh.
References Node::notifyBirth(), and NodeBase::parent().
|
inline |
return the node stored within this handle
Definition at line 193 of file symtrace.hh.
References NodeBase::parent().
Referenced by NodeHandle::operator=().
|
inline |
overridden assignment operator keeping the semantics of a handle
Definition at line 208 of file symtrace.hh.
References NodeHandle::node(), and NodeHandle::reset().
|
virtualinherited |
this can be called only on nodes with exactly one parent
Reimplemented in JoinNode.
Referenced by NodeHandle::node(), NodeHandle::NodeHandle(), and Node::printNode().
|
inlineinherited |
reference to list of parents (containing 0..n pointers)
Definition at line 89 of file symtrace.hh.
References NodeBase::parents_.
void reset | ( | Node * | ) |
release the old node and re-initialize the handle with the new one
Referenced by NodeHandle::operator=().
|
protectedinherited |
list of all (0..n) parent nodes
Definition at line 70 of file symtrace.hh.
Referenced by Node::Node(), and NodeBase::parents().