Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Node3< T > Class Template Reference

Triply-linked node. More...

#include <Node.h>

List of all members.

Public Member Functions

void addFirstChild (T *newChild)
 Add node as my first child.
void addLastChild (T *newChild)
 Add node as my last child.
void removeFromParent ()
 Remove self from parent leaving my own descendent tree intact.
T * next (const T *const terminal)
 Returns next node using depth-first traversal.
T * nextBreadth (const T *const terminal)
 Returns next node using breadth-first traversal.

Public Attributes

T * parent
 Parent node.
T * child
 Child node.
T * sibling
 Right sibling.

Detailed Description

template<class T>
class gam::Node3< T >

Triply-linked node.


Member Function Documentation

T* next ( const T *const  terminal)

Returns next node using depth-first traversal.

Returns 0 when the next node equals the terminal node.


The documentation for this class was generated from the following file: