libStatGen Software  1
StringDoubleHash Class Reference
Inheritance diagram for StringDoubleHash:
Collaboration diagram for StringDoubleHash:

List of all members.

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
StringDoubleHashoperator= (const StringDoubleHash &rhs)
const Stringoperator[] (int i) const
Stringoperator[] (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

Detailed Description

Definition at line 309 of file StringHash.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends