Map for variables in swissknife expression. More...
#include <StrMap.h>
Public Member Functions | |
void | AddString (const char *str, void *data) |
void | AddStrLen (const char *str, size_t len, const void *data) |
CStrMap (int extrabytes=sizeof(double), int dup=0) | |
const void * | DataAt (int index) |
bool | IsEmpty () |
int | LenIndexOf (const char *str, size_t len, const void **data) |
void | SetCapacity (int NewCapacity) |
void | TrimClear (int NewCount) |
~CStrMap (void) | |
Private Attributes | |
int | FCapacity |
int | FCount |
int | FDoDuplicate |
int | FExtraLen |
char * | FList |
int | FRecordLen |
CStrMap::CStrMap | ( | int | extrabytes = sizeof(double) , |
int | dup = 0 |
||
) |
CStrMap::~CStrMap | ( | void | ) |
void CStrMap::AddString | ( | const char * | str, |
void * | data | ||
) |
void CStrMap::AddStrLen | ( | const char * | str, |
size_t | len, | ||
const void * | data | ||
) |
const void* CStrMap::DataAt | ( | int | index | ) |
bool CStrMap::IsEmpty | ( | ) | [inline] |
int CStrMap::LenIndexOf | ( | const char * | str, |
size_t | len, | ||
const void ** | data | ||
) |
void CStrMap::SetCapacity | ( | int | NewCapacity | ) |
void CStrMap::TrimClear | ( | int | NewCount | ) |
int CStrMap::FCapacity [private] |
int CStrMap::FCount [private] |
int CStrMap::FDoDuplicate [private] |
int CStrMap::FExtraLen [private] |
char* CStrMap::FList [private] |
int CStrMap::FRecordLen [private] |