#include <UT_SortedSymbolTable.h>
Public Member Functions | |
| UT_SortedSymbolTable () | |
| virtual | ~UT_SortedSymbolTable () |
| void | clear () |
| void | addSymbol (const char *symbol, UT_Thing data) |
| int | findSymbol (const char *symbol, UT_Thing *datap) const |
| const char * | getSymbol (uint i) const |
| const char * | getStringReference (const char *string) |
| int | deleteSymbol (const char *symbol) |
| UT_Thing & | operator[] (const char *symbol) |
| UT_Thing & | operator[] (uint i) const |
| UT_Thing & | operator() (uint i) const |
| uint | entries () const |
| bool | empty () const |
| void | sortThingsBySymbol () |
Protected Types | |
| typedef UT_Pair< const char *, UT_Thing * > | myPair |
Static Protected Member Functions | |
| static int | comparePair (const myPair *p1, const myPair *p2) |
Protected Attributes | |
| UT_SymbolTable | myTable |
| UT_RefArray< myPair > | myThings |
Definition at line 33 of file UT_SortedSymbolTable.h.
typedef UT_Pair<const char*, UT_Thing*> UT_SortedSymbolTable::myPair [protected] |
Definition at line 78 of file UT_SortedSymbolTable.h.
| UT_SortedSymbolTable::UT_SortedSymbolTable | ( | ) | [explicit] |
| virtual UT_SortedSymbolTable::~UT_SortedSymbolTable | ( | ) | [virtual] |
| void UT_SortedSymbolTable::addSymbol | ( | const char * | symbol, | |
| UT_Thing | data | |||
| ) |
| void UT_SortedSymbolTable::clear | ( | ) |
| static int UT_SortedSymbolTable::comparePair | ( | const myPair * | p1, | |
| const myPair * | p2 | |||
| ) | [inline, static, protected] |
Definition at line 80 of file UT_SortedSymbolTable.h.
| int UT_SortedSymbolTable::deleteSymbol | ( | const char * | symbol | ) |
| bool UT_SortedSymbolTable::empty | ( | ) | const |
| uint UT_SortedSymbolTable::entries | ( | ) | const |
| int UT_SortedSymbolTable::findSymbol | ( | const char * | symbol, | |
| UT_Thing * | datap | |||
| ) | const |
| const char* UT_SortedSymbolTable::getStringReference | ( | const char * | string | ) |
| const char* UT_SortedSymbolTable::getSymbol | ( | uint | i | ) | const |
Definition at line 61 of file UT_SortedSymbolTable.h.
| UT_Thing& UT_SortedSymbolTable::operator[] | ( | const char * | symbol | ) |
| void UT_SortedSymbolTable::sortThingsBySymbol | ( | ) | [inline] |
Definition at line 72 of file UT_SortedSymbolTable.h.
UT_SymbolTable UT_SortedSymbolTable::myTable [protected] |
Definition at line 84 of file UT_SortedSymbolTable.h.
UT_RefArray<myPair> UT_SortedSymbolTable::myThings [protected] |
Definition at line 85 of file UT_SortedSymbolTable.h.
1.5.9