Public Member Functions | |
int | Clear () |
BinTreeNode< T > * | Insert (T aData) |
BinTreeNode< T > * | InsertAt (T aData, BinTreeNode< T > *aNode, eBinTreeNode aChild=eBinTreeNode_Left) |
int | Size () |
const Common::List< BinTreeNode< T > * > & | GetLeafList () |
const Common::List< BinTreeNode< T > * > & | GetNodeList () |
|
inline |
Clears the entire tree
|
inline |
Insert a node to the tree.
aData | the data to insert |
|
inline |
Insert a node into a certain node in the tree
aData | the data to insert |
aNode | the node to insert the data in |
aChild | what child to insert at |
|
inline |
Get the size of the tree
|
inline |
Get a list of all the nodes in the tree