name: TreeNode<TObject>

synopsis:


g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_dstr_a

#include <TreeNode.h>

long degree() const;
boolean increment();
boolean decrement();
TreeNode<TObject>* getParent() const;
boolean setParent(const TreeNode<TObject>* arg);
TreeNode<TObject>* getLeftChild() const;
boolean setLeftChild(const TreeNode<TObject>* arg);
TreeNode<TObject>* getRightSibling() const;
boolean setRightSibling(const TreeNode<TObject>* arg);
boolean isAdjacent(const TObject* obj) const;
boolean isAdjacent(const TreeNode<TObject>* node) const;
quick start:


TreeNode<Ulong> tree_node;

tree_node.setParent((TreeNode<Ulong>*)NULL);
tree_node.increment();
tree_node.decrement();

description:

This class is used to implements a tree node and forms the basis of the Tree class data structure.

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods:

examples:

notes: