Class Tree::Edge#

Nested Relationships#

This class is a nested type of Class Tree.

Class Documentation#

class Edge

A tree edge has pointers to the nodes it links (parent and child).

Public Functions

inline Edge(Node *_source, Node *_sink)
inline virtual Edge *new_copy(Node *_src, Node *_snk)
inline virtual ~Edge()
inline Node *parent() const
inline Node *source() const
inline Node *tail() const
inline Node *child() const
inline Node *sink() const
inline Node *head() const
inline virtual void dump(std::ostream &os)

Protected Functions

inline void copy(Edge *e)

Protected Attributes

Node *parent_node
Node *child_node
bool in_use

Friends

friend class Tree
friend class Tree::Node