|
libStatGen Software
1
|


Public Member Functions | |
| StringDoubleHash (int startsize=32) | |
| void | Grow () |
| void | Shrink () |
| void | SetSize (int newsize) |
| void | Clear () |
| int | Capacity () const |
| int | Entries () const |
| double | Double (int i) const |
| double | Double (const String &key) const |
| void | SetDouble (int i, double value) |
| void | SetDouble (const String &key, double value) |
| int | Add (const String &s, double value) |
| int | Find (const String &s, double defaultValue) |
| int | Find (const String &s) const |
| StringDoubleHash & | operator= (const StringDoubleHash &rhs) |
| const String & | operator[] (int i) const |
| String & | operator[] (int i) |
| void | Delete (unsigned int index) |
| void | Delete (const String &key) |
| bool | SlotInUse (int index) const |
Protected Attributes | |
| String ** | strings |
| double * | doubles |
| unsigned int * | keys |
| unsigned int | count |
| unsigned int | size |
| unsigned int | mask |
Definition at line 309 of file StringHash.h.