#include <UT_SymbolTable.h>

Classes | |
| class | traverser |
Public Member Functions | |
| UT_SymbolTable () | |
| virtual | ~UT_SymbolTable () |
| void | addSymbol (const char *symbol, UT_Thing data) |
| int | findSymbol (const char *symbol, UT_Thing *datap) const |
| int | contains (const char *symbol) const |
| template<typename T > | |
| T * | findPointer (const char *symbol) const |
| int | findOrCreateSymbol (const char *symbol, UT_Thing **datap) |
| int | deleteSymbol (const char *symbol) |
| void | clear () |
| const char * | addSymbolAndGetReference (const char *symbol, UT_Thing data) |
| unsigned | entries () const |
| bool | empty () const |
| int | size () const |
| UT_Thing & | operator[] (const char *symbol) |
| float | getMaxLoadFactor () const |
| void | setMaxLoadFactor (float max_load_factor) |
| float | getMinLoadFactor () const |
| void | setMinLoadFactor (float min_load_factor) |
| void | mergeTable (const UT_SymbolTable &table) |
| const char * | getStringReference (const char *symbol) |
| char * | newName (const char *symbol) const |
| bool | getUniqueNumberedPrefix (const char *symbol, UT_String &unique_prefix) const |
| void | outputStats (FILE *output) const |
| void | dumpTable (FILE *output) const |
| int64 | getMemUsage (bool only_this=false) const |
| int | traverseConst (int(*function)(UT_Thing &, const char *, void *), void *data) const |
| int | traverse (int(*function)(UT_Thing &, const char *, void *), void *data) |
| traverser | begin () const |
| traverser | end () const |
Definition at line 29 of file UT_SymbolTable.h.
| UT_SymbolTable::UT_SymbolTable | ( | ) | [explicit] |
| virtual UT_SymbolTable::~UT_SymbolTable | ( | ) | [virtual] |
| void UT_SymbolTable::addSymbol | ( | const char * | symbol, | |
| UT_Thing | data | |||
| ) |
| const char* UT_SymbolTable::addSymbolAndGetReference | ( | const char * | symbol, | |
| UT_Thing | data | |||
| ) |
| traverser UT_SymbolTable::begin | ( | ) | const [inline] |
Definition at line 182 of file UT_SymbolTable.h.
| void UT_SymbolTable::clear | ( | ) |
| int UT_SymbolTable::contains | ( | const char * | symbol | ) | const [inline] |
Definition at line 38 of file UT_SymbolTable.h.
| int UT_SymbolTable::deleteSymbol | ( | const char * | symbol | ) |
| void UT_SymbolTable::dumpTable | ( | FILE * | output | ) | const |
| bool UT_SymbolTable::empty | ( | ) | const [inline] |
Definition at line 58 of file UT_SymbolTable.h.
| traverser UT_SymbolTable::end | ( | ) | const [inline] |
Definition at line 188 of file UT_SymbolTable.h.
| unsigned UT_SymbolTable::entries | ( | void | ) | const [inline] |
| int UT_SymbolTable::findOrCreateSymbol | ( | const char * | symbol, | |
| UT_Thing ** | datap | |||
| ) |
| T* UT_SymbolTable::findPointer | ( | const char * | symbol | ) | const [inline] |
Definition at line 42 of file UT_SymbolTable.h.
| int UT_SymbolTable::findSymbol | ( | const char * | symbol, | |
| UT_Thing * | datap | |||
| ) | const |
| float UT_SymbolTable::getMaxLoadFactor | ( | ) | const [inline] |
Definition at line 68 of file UT_SymbolTable.h.
| int64 UT_SymbolTable::getMemUsage | ( | bool | only_this = false |
) | const |
| float UT_SymbolTable::getMinLoadFactor | ( | ) | const [inline] |
Definition at line 70 of file UT_SymbolTable.h.
| const char* UT_SymbolTable::getStringReference | ( | const char * | symbol | ) |
| bool UT_SymbolTable::getUniqueNumberedPrefix | ( | const char * | symbol, | |
| UT_String & | unique_prefix | |||
| ) | const |
| void UT_SymbolTable::mergeTable | ( | const UT_SymbolTable & | table | ) |
| char* UT_SymbolTable::newName | ( | const char * | symbol | ) | const |
| UT_Thing& UT_SymbolTable::operator[] | ( | const char * | symbol | ) |
| void UT_SymbolTable::outputStats | ( | FILE * | output | ) | const |
| void UT_SymbolTable::setMaxLoadFactor | ( | float | max_load_factor | ) |
| void UT_SymbolTable::setMinLoadFactor | ( | float | min_load_factor | ) |
| int UT_SymbolTable::size | ( | ) | const [inline] |
Definition at line 59 of file UT_SymbolTable.h.
| int UT_SymbolTable::traverse | ( | int(*)(UT_Thing &, const char *, void *) | function, | |
| void * | data | |||
| ) |
| int UT_SymbolTable::traverseConst | ( | int(*)(UT_Thing &, const char *, void *) | function, | |
| void * | data | |||
| ) | const |
1.5.9