int BaseStringTable::AddString |
( |
const char * |
string | ) |
|
|
inline |
Adds a string to the string table and returns its index.
int BaseStringTable::AddString |
( |
const char * |
string, |
|
|
size_t |
length |
|
) |
| |
|
inline |
Adds a string to the string table and returns its index.
Returns the parent BaseMemTable that this string table uses.
const char* BaseStringTable::GetString |
( |
int |
str | ) |
|
|
inline |
Given an index into the string table, returns the associated string.
void BaseStringTable::Reset |
( |
| ) |
|
|
inline |
Scraps the string table. For caching purposes, the memory is not freed, however subsequent calls to AddString() will begin at the first index again.
The documentation for this class was generated from the following file: