![]() |
KSquare Utilities
|
#include <HashTable.h>
Public Types | |
| typedef Entry * | EntryPtr |
Public Member Functions | |
| HashTable (bool _owner, kkuint32 _tableSize, kkuint32 _keyLen) | |
| Hash Table management template; developed to support BitReduction algorithm. More... | |
| ~HashTable () | |
| void | AddEntry (EntryPtr entry) |
| bool | DeleteEntry (EntryPtr _entry) |
| kkuint32 | HashValue (const KKStr &str) |
| EntryPtr | LocateEntry (const KKStr &str) |
| kkuint32 | NumOfEntries () |
| void | Save (const KKStr &fileName) |
| HashEntryPtr * | Table () |
| kkuint32 | TableSize () |
Definition at line 19 of file HashTable.h.
| typedef Entry* KKB::HashTable< Entry >::EntryPtr |
Definition at line 22 of file HashTable.h.
| KKB::HashTable< Entry >::HashTable | ( | bool | _owner, |
| kkuint32 | _tableSize, | ||
| kkuint32 | _keyLen | ||
| ) |
Hash Table management template; developed to support BitReduction algorithm.
This template was originally written by Tong Luo to support his experiments in Bit reduction. It was later heavily modified by Kurt Kramer to conform to the PicesLibrary structure.
Definition at line 85 of file HashTable.h.
| KKB::HashTable< Entry >::~HashTable | ( | ) |
Definition at line 118 of file HashTable.h.
| void KKB::HashTable< Entry >::AddEntry | ( | EntryPtr | entry | ) |
Definition at line 173 of file HashTable.h.
| bool KKB::HashTable< Entry >::DeleteEntry | ( | EntryPtr | _entry | ) |
Definition at line 191 of file HashTable.h.
| kkuint32 KKB::HashTable< Entry >::HashValue | ( | const KKStr & | str | ) |
Definition at line 230 of file HashTable.h.
| HashTable< Entry >::EntryPtr KKB::HashTable< Entry >::LocateEntry | ( | const KKStr & | str | ) |
Definition at line 145 of file HashTable.h.
|
inline |
Definition at line 70 of file HashTable.h.
| void KKB::HashTable< Entry >::Save | ( | const KKStr & | fileName | ) |
Definition at line 251 of file HashTable.h.
|
inline |
Definition at line 72 of file HashTable.h.
|
inline |
Definition at line 74 of file HashTable.h.