#include <node.h>
Public Member Functions | |
BinTreeNode (void) | |
~BinTreeNode (void) | |
Public Attributes | |
BinTreeNode< T > * | parent |
BinTreeNode< T > * | lchild |
BinTreeNode< T > * | rchild |
T | data |
seal::BinTreeNode< T >::BinTreeNode | ( | void | ) | [inline] |
Constructor. Initialies all the member pointers to NULL.
seal::BinTreeNode< T >::~BinTreeNode | ( | void | ) | [inline] |
Destructor. Does nothing.
BinTreeNode<T>* seal::BinTreeNode< T >::parent |
Pointer to the parent node.
BinTreeNode<T>* seal::BinTreeNode< T >::lchild |
Pointer to the left child.
BinTreeNode<T>* seal::BinTreeNode< T >::rchild |
Pointer to the right child.
T seal::BinTreeNode< T >::data |
Data held in the node.