|
| TAKE_StringSaver () |
|
virtual | ~TAKE_StringSaver () |
|
int | getStringId (TAKE_Packet &os, const char *string) |
|
| UT_SymbolMap () |
| Constructor. More...
|
|
| ~UT_SymbolMap () |
| Destructor. More...
|
|
void | addSymbol (const UT_StringHolder &symbol, const ITEM_T &data) |
| Add a symbol to the map. More...
|
|
bool | findSymbol (const UT_StringRef &symbol, ITEM_T *datap) const |
|
bool | contains (const UT_StringRef &symbol) const |
| Check if a symbol exists. More...
|
|
exint | count (const UT_StringRef &symbol) const |
| Find out how many times a symbol exists (this will be either 0 or 1). More...
|
|
bool | deleteSymbol (const UT_StringRef &symbol) |
| Erase a symbol from the map. More...
|
|
void | clear () |
|
const char * | addSymbolAndGetReference (const UT_StringHolder &symbol, const ITEM_T &data) |
| Add a symbol and return the string reference. More...
|
|
bool | empty () const |
| Check if the map is empty. More...
|
|
ITEM_T & | operator[] (const UT_StringHolder &symbol) |
|
ITEM_T & | insert (const UT_StringHolder &name, const ITEM_T &item) |
|
void | reserveTableSize (exint size) |
|
float | getLoadFactor () const |
| Get current load factor. More...
|
|
void | mergeTable (const UT_SymbolMap &table) |
| Merge the specified table with ourselves. More...
|
|
const char * | getStringReference (const UT_StringRef &symbol) |
|
UT_StringHolder | makeUniqueKey (const char *name) const |
| Returns a unique key based using the passed-in string as a prefix. More...
|
|
int64 | getMemoryUsage (bool inclusive) const |
| Return an approximation of how much memory we use. More...
|
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
const_map_iterator | map_begin () const |
|
map_iterator | map_begin () |
|
const_map_iterator | map_end () const |
|
map_iterator | map_end () |
|
UT_IteratorRange
< const_map_iterator > | map_range () const |
|
UT_IteratorRange< map_iterator > | map_range () |
|
void | outputStats (std::ostream &os) const |
|
map_iterator | find (const UT_StringRef &symbol) |
|
const_map_iterator | find (const UT_StringRef &symbol) const |
|
exint | erase (const UT_StringRef &symbol) |
|
map_iterator | erase (const_map_iterator it) |
|
exint | entries () const |
|
exint | size () const |
|
exint | bucket_count () const |
|
exint | capacity () const |
|
float | getMaxLoadFactor () const |
|
void | setMaxLoadFactor (float f) |
|
float | getMinLoadFactor () const |
|
void | setMinLoadFactor (float) |
|
int | traverseConst (int(*function)(ITEM_T &, const char *, void *), void *data) const |
|
int | traverse (int(*function)(ITEM_T &, const char *, void *), void *data) |
|
Definition at line 24 of file TAKE_StringSaver.h.