259 #ifndef support_HashTable_hpp 260 #define support_HashTable_hpp 264 #ifdef NO_STD_CHEADERS 270 #include <sys/types.h> 346 virtual int EntryCompare (
const void* entry1,
const void* entry2);
367 int QueryIndexSet (
const void* entry,
const bool expand)
const;
383 void operator ++(
int);
384 void* Current()
const;
395 #endif // support_HashTable_hpp void FailureToDestroyError() const
EntryCleanupFunctPtr EntryCleanupCallback
int(* EntryCompareFunctPtr)(const void *, const void *)
virtual uint RehashFunct(const uint oldHashValue, const uint size)
uint IntegerRehashHashFunct(const uint oldHashValue, const uint size)
uint StringRehashFunct(const uint oldHashValue, const uint size)
HashTable & operator=(const HashTable &rhs)
void Create(const uint entrySize, uint initialSize, HashFunctFunctPtr const HashFunctCallback, RehashFunctFunctPtr const RehashFunctCallback, EntryCompareFunctPtr const EntryCompareCallback, EntryCleanupFunctPtr const EntryCleanupCallback)
EntryCompareFunctPtr EntryCompareCallback
friend class HashTableIterator
void(* DeleteEntryFunctPtr)(void *, va_list)
uint(* HashFunctFunctPtr)(const void *, const uint)
virtual void EntryCleanup(void *entry)
uint(* RehashFunctFunctPtr)(const uint, const uint)
const HashTable * hashTable
RehashFunctFunctPtr RehashFunctCallback
bool operator==(HashTable &rhsTab)
uint IntegerHashFunct(const int value, const uint size)
int QueryIndexSet(const void *entry, const bool expand) const
virtual uint HashFunct(const void *entry, const uint size)
void(* AddEntryFunctPtr)(void *, void *, va_list)
void DeleteEntry(void *entry, DeleteEntryFunctPtr const DeleteEntryCallback=0,...)
int GetEntryIndex(const void *entry) const
int IntegerEntryCompare(const int value1, const int value2)
void AddEntry(void *entry, AddEntryFunctPtr const AddEntryCallback=0,...)
void FailureToCreateError() const
uint NumberOfEntries() const
HashFunctFunctPtr HashFunctCallback
int StringEntryCompare(const void *entry1, const void *entry2)
void(* EntryCleanupFunctPtr)(void *)
uint StringHashFunct(const void *entry, const uint size)
void * QueryEntry(const void *entry) const
virtual int EntryCompare(const void *entry1, const void *entry2)
void * GetEntryByIndex(const uint index) const