#include <AGenericHash.h>
Inheritance diagram for AGenericHash< Key, ConfigData >:
Public Member Functions | |
virtual | ~AGenericHash () |
Destructor. | |
virtual Key * | Insert (Key *key, bool OptimizeForCaching)=0 |
Insert a value. Don't add if already there. | |
virtual void | DeleteItems () |
Delete all the items in the hash table. | |
Protected Member Functions | |
AGenericHash (int SizeWanted, ACompareNodesAlgorithm< Key, ConfigData > *Compare, AHashAlgorithm< Key > *Hash, DeleteHashDataEnum DeleteHashData=NO_DELETE_HASH_ITEM) | |
Constructor. | |
virtual void | Copy (AGenericHash< Key, ConfigData > *Hash) |
Copy a AGenericHash object into this AGenericHash object. | |
Protected Attributes | |
int | m_Size |
Size of the hash table. | |
int | m_NumberOfElements |
Number of elements in hash table. | |
ACompareNodesAlgorithm< Key, ConfigData > * | m_Compare |
The compare algorithm to compare values in the hash table. | |
AHashAlgorithm< Key > * | m_Hash |
Hash algorithm for the hash table. | |
DeleteHashDataEnum | m_DeleteHashData |
Determines how to delete the data when the hash table is deleted. |
Definition at line 176 of file AGenericHash.h.
|
Reimplemented in FCInternalHash< Key, ConfigData >, and FCInternalHash< FCSTalonStateData, void >. Definition at line 245 of file AGenericHash.h. References AGenericHash< Key, ConfigData >::m_Compare, AGenericHash< Key, ConfigData >::m_DeleteHashData, AGenericHash< Key, ConfigData >::m_Hash, AGenericHash< Key, ConfigData >::m_NumberOfElements, and AGenericHash< Key, ConfigData >::m_Size. Referenced by FCInternalHash< Key, ConfigData >::Copy(). |
|
Implemented in FCInternalHash< Key, ConfigData >, GLIBHash< Key, ConfigData >, and FCInternalHash< FCSTalonStateData, void >. Referenced by FCHashStateStorage::CheckAndInsert(), and FCHashStackStorage::Insert(). |