|
fcml 1.3.0
|


Public Member Functions | |
| SymbolTable () | |
| Creates an empty symbol table. | |
| virtual | ~SymbolTable () |
| Destructor. | |
| void | add (const fcml_cstring &symbolName, fcml_int64_t value) |
| Adds a new symbol to the table. | |
| void | remove (const fcml_cstring &symbolName) |
| Removes symbol from the table. | |
| bool | contains (const fcml_cstring &symbolName) const |
| Gets true if there is a symbol for the given name in the table. | |
| Symbol | get (const fcml_cstring &symbolName) const |
| Gets the symbol of the given name. | |
Protected Member Functions | |
| fcml_st_symbol_table & | getSymbolTable () |
| Gets native FCML symbol table. | |
Friends | |
| class | SymbolTableAware |
|
inline |
Creates an empty symbol table.
| InitException | The symbol table can't be allocated. |
|
inlinevirtual |
Destructor.
|
inline |
Adds a new symbol to the table.
| symbolName | The symbol name. |
| value | The symbol value. |
|
inline |
Gets true if there is a symbol for the given name in the table.
| symbolName | The symbol name. |
|
inline |
Gets the symbol of the given name.
Checks Symbol.isEmpty method of the returned symbol to check if there is such a symbol.
| symbolName | The symbol name. |
|
inlineprotected |
Gets native FCML symbol table.
|
inline |
Removes symbol from the table.
| symbolName | The symbol name. |