Public Member Functions | |
Symbols (bool setdefaults=true) | |
Symbols (const Symbols &s) | |
~Symbols () | |
void | copy (const Symbols &s) |
bool | set (const SymbolKeyType &id, const SymbolValueType &value) |
bool | set (const SymbolKeyType &id, int value) |
bool | set (const SymbolKeyType &id, const SymbolArrayType &value) |
bool | set (const SymbolKeyType &id, const SymbolHashType &value) |
bool | set (const SymbolKeyType &id, Object &value) |
bool | push (const SymbolKeyType &id, const SymbolValueType &value) |
bool | push (const SymbolKeyType &id, const SymbolArrayType &value) |
bool | push (const SymbolKeyType &id, const SymbolHashType &value) |
bool | push (const SymbolKeyType &id, Object &value) |
bool | exists (const SymbolKeyType &id) const |
bool | empty (const SymbolKeyType &id) const |
bool | isscalar (const SymbolKeyType &id) const |
bool | isarray (const SymbolKeyType &id) const |
bool | ishash (const SymbolKeyType &id) const |
unsigned | size (const SymbolKeyType &id) const |
bool | get (const SymbolKeyType &id, SymbolValueType &val) const |
bool | get (const SymbolKeyType &id, SymbolArrayType &sym) const |
bool | unset (const SymbolKeyType &id) |
Symbols & | operator= (const Symbols &) |
Friends | |
class | Parser_Impl |
tptexception |
|
Construct an instance of the Symbols class.
|
|
Construct a copy of the specified Symbols class.
|
|
Destruct this instance of the Symbols class.
|
|
Copy the specified symbols table. This differs from the operator= copy function in that it does not remove existing symbols unless the symbol also exists in the source symbols table.
|
|
Check if a symbol is empty.
|
|
Check whether the specified id exists in the symbol table.
|
|
Get the array of values specified by id from the symbols table, recursing to process embedded symbols as needed.
|
|
Get the value specified by id from the symbols table, recursing to process embedded symbols as needed.
|
|
Check if a symbol is a multielement array.
|
|
Check if a symbol is a hash.
|
|
Check if a symbol is a multielement scalar.
|
|
Symbols copy operator
|
|
Push a symbol's hash values
|
|
Push a symbol's hash values
|
|
Push a symbol's array values
|
|
Push a symbol's value
|
|
Assign an Object into the specified symbol.
|
|
Copy a string hash to the specified symbol.
|
|
Copy an array of strings to the specified symbol.
|
|
Set a symbol's value.
|
|
Set a symbol's value.
|
|
Get size of the specified array.
|
|
Unset a symbols
|