SML::NUMHASH Class Reference
#include <sml/hash.h>
List of all members.
Constructor & Destructor Documentation
| SML::NUMHASH::NUMHASH |
( |
|
) |
|
| virtual SML::NUMHASH::~NUMHASH |
( |
|
) |
[virtual] |
Member Function Documentation
| double* SML::NUMHASH::GetArray |
( |
|
) |
|
Get the hash as an array.
This will ONLY contain the values which were populated using integer indexes. Anything filled in using a non-integer or non-numeric key will not be in this list. This allows a numeric hash to be passed to functions that want a one-dimensional array.
| INT32 SML::NUMHASH::GetArraySize |
( |
|
) |
const |
Get the hash as an array.
This will ONLY contain the values which were populated using integer indexes. Anything filled in using a non-integer or non-numeric key will not be in this list. This allows a numeric hash to be passed to functions that want a one-dimensional array.
| double SML::NUMHASH::GetValue |
( |
const MISTRING & |
indx, |
|
|
bool |
bConstructIfEmpty | |
|
) |
| | const |
| ERRVALUE SML::NUMHASH::ResizeArray |
( |
INT32 |
numitems, |
|
|
double |
fillval, |
|
|
bool |
bKeepExisting = true | |
|
) |
| | |
Resize the array.
Note: this will clear any non-integer index entries from the hash.
- Parameters:
-
| numitems | # of desired entries (starting at 0) |
| fillval | Value to initialize array to |
| bKeepExisting | true to keep existing data |
| void SML::NUMHASH::SetValue |
( |
const MISTRING & |
indx, |
|
|
double |
val | |
|
) |
| | |
| virtual void SML::NUMHASH::v_Clear |
( |
|
) |
[private, virtual] |
| virtual void SML::NUMHASH::v_Delete |
( |
const MISTRING & |
|
) |
[private, virtual] |
| virtual bool SML::NUMHASH::v_Exists |
( |
const MISTRING & |
|
) |
const [private, virtual] |
| virtual const CLASS* SML::NUMHASH::v_GetClass |
( |
|
) |
const [private, virtual] |
| virtual MISTRINGLIST* SML::NUMHASH::v_GetKeyList |
( |
|
) |
const [private, virtual] |
| virtual int SML::NUMHASH::v_GetNumItems |
( |
|
) |
const [private, virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: