#include <AGenericTree.h>
Inheritance diagram for AGenericTree< Data, ConfigData >:

Public Member Functions | |
| virtual | ~AGenericTree () |
| Destructor. | |
| virtual Data * | Search (Data *NodeData, bool *NodeInserted)=0 |
| Find a data item. If not found, insert it. | |
| virtual Data * | Find (Data *NodeData)=0 |
| Find a data item. If not found, return NULL. | |
| virtual void | DeleteTree () |
| Some trees can't destory themselves with a destructor, use this function instead. | |
Protected Member Functions | |
| AGenericTree (ACompareNodesAlgorithm< Data, ConfigData > *CompareNodes, DeleteTreeDataEnum DeleteTreeData=NO_DELETE_TREE_ITEM, ConfigData *pConfigData=NULL) | |
| Constructor. | |
Protected Attributes | |
|
ACompareNodesAlgorithm< Data, ConfigData > * | m_CompareNodes |
| The compare algorithm to compare nodes in the tree. | |
| ConfigData * | m_ConfigData |
| Configuration data (if necessary) for the compare algorithms. | |
| DeleteTreeDataEnum | m_DeleteTreeData |
| Determines how to delete the data when the hash table is deleted. | |
Definition at line 19 of file AGenericTree.h.
|
||||||||||
|
Implemented in AVLRedBlackTree< Data, ConfigData >, AVLTree< Data, ConfigData >, GLIBTree< Data, ConfigData >, and RedBlackTree< Data, ConfigData >. |
|
||||||||||||||||
|
Implemented in AVLRedBlackTree< Data, ConfigData >, AVLTree< Data, ConfigData >, GLIBTree< Data, ConfigData >, and RedBlackTree< Data, ConfigData >. Referenced by FCTreeStateStorage::CheckAndInsert(), and FCTreeStackStorage::Insert(). |
1.4.4