|
Public Methods |
oaUInt4 | getNumEntries () const |
oaUInt4 | add (T obj) |
void | addAtSlot (T obj, oaHashTblSlotId< T > &slot) |
void | remove (T obj) |
void | removeFromSlot (oaHashTblSlotId< T > &slot) |
virtual oaUInt8 | calcVMSize () const |
void | genHash (const char *str, oaUInt4 &start, oaUInt4 &stride) const |
void | genHash (oaUInt4 value, oaUInt4 &start, oaUInt4 &stride) const |
void | genHash (oaUInt8 value, oaUInt4 &start, oaUInt4 &stride) const |
void | genHash (void *ptr, oaUInt4 &start, oaUInt4 &stride) const |
void | genHash (oaUInt4 scope, oaUInt4 index, oaUInt4 &start, oaUInt4 &stride) const |
void | beginHash (oaUInt4 &start, oaUInt4 &stride) const |
void | updateHash (const char *str, oaUInt4 &start, oaUInt4 &stride, oaBoolean toLower=false) const |
void | updateHash (const char c, oaUInt4 &start, oaUInt4 &stride, oaBoolean toLower=false) const |
void | updateHash (oaInt4 x, oaUInt4 &start, oaUInt4 &stride) const |
void | updateHash (oaUInt4 value, oaUInt4 &start, oaUInt4 &stride) const |
void | endHash (oaUInt4 &start, oaUInt4 &stride) const |
Protected Methods |
| oaHashTbl (oaUInt4 sizeIn=32) |
virtual | ~oaHashTbl () |
oaUInt4 | find (oaUInt4 loc, oaUInt4 stride, const void *data) const |
oaUInt4 | findSlot (oaUInt4 start, oaUInt4 stride, const void *data, oaHashTblSlotId< T > &slot) |
virtual void | resize (oaUInt4 newSize) |
virtual void | hash (T obj, oaUInt4 &start, oaUInt4 &stride) const=0 |
virtual oaBoolean | compare (T obj, const void *data) const=0 |
void | getLocation (T obj, oaUInt4 &loc, oaUInt4 &deletedKeyLoc) const |
void | getNextLoc (oaUInt4 &loc, oaUInt4 stride, oaUInt4 &start) const |
Friends |
class | oaHashIter< T > |