◆ SymbolTable()
fcml::SymbolTable::SymbolTable |
( |
| ) |
|
|
inline |
Creates an empty symbol table.
- Exceptions
-
- Since
- 1.1.0
◆ ~SymbolTable()
virtual fcml::SymbolTable::~SymbolTable |
( |
| ) |
|
|
inlinevirtual |
◆ add()
void fcml::SymbolTable::add |
( |
const fcml_cstring & |
symbolName, |
|
|
fcml_int64_t |
value |
|
) |
| |
|
inline |
Adds a new symbol to the table.
- Parameters
-
symbolName | The symbol name. |
value | The symbol value. |
- Since
- 1.1.0
◆ contains()
bool fcml::SymbolTable::contains |
( |
const fcml_cstring & |
symbolName | ) |
const |
|
inline |
Gets true if there is a symbol for the given name in the table.
- Parameters
-
symbolName | The symbol name. |
- Returns
- true If symbol of the name exists in the table.
- Since
- 1.1.0
◆ get()
Gets the symbol of the given name.
Checks Symbol.isEmpty method of the returned symbol to check if there is such a symbol.
- Parameters
-
symbolName | The symbol name. |
- Returns
- The found symbol.
- Since
- 1.1.0
◆ getSymbolTable()
Gets native FCML symbol table.
- Returns
- The native symbol table.
- Since
- 1.1.0
◆ remove()
void fcml::SymbolTable::remove |
( |
const fcml_cstring & |
symbolName | ) |
|
|
inline |
Removes symbol from the table.
- Parameters
-
symbolName | The symbol name. |
- Since
- 1.1.0
The documentation for this class was generated from the following file: