Represents one named symbol with associated value.
More...
#include <fcml_symbols.hpp>
Represents one named symbol with associated value.
- Since
- 1.1.0
◆ Symbol() [1/2]
Creates an empty symbol.
- Since
- 1.1.0
◆ Symbol() [2/2]
fcml::Symbol::Symbol |
( |
const fcml_cstring & |
name, |
|
|
fcml_int64_t |
value |
|
) |
| |
|
inline |
Creates a symbol instance for the given name and value.
- Parameters
-
name | The symbol name. |
value | The symbol value. |
- Since
- 1.1.0
◆ getName()
Gets the symbol name.
- Returns
- The symbol name.
- Since
- 1.1.0
◆ getValue()
fcml_uint64_t fcml::Symbol::getValue |
( |
| ) |
const |
|
inline |
Gets the symbol value.
- Returns
- The symbol value.
- Since
- 1.1.0
◆ isEmpty()
bool fcml::Symbol::isEmpty |
( |
| ) |
const |
|
inline |
Gets true if symbol is empty.
- Returns
- True if symbol is empty.
- Since
- 1.1.0
◆ operator fcml_int64_t()
fcml::Symbol::operator fcml_int64_t |
( |
| ) |
const |
|
inline |
Gets symbol value.
- Since
- 1.1.0
◆ operator fcml_uint64_t()
fcml::Symbol::operator fcml_uint64_t |
( |
| ) |
const |
|
inline |
Gets symbol value.
- Since
- 1.1.0
◆ setName()
Sets a new symbol name.
- Parameters
-
- Since
- 1.1.0
◆ setValue()
void fcml::Symbol::setValue |
( |
fcml_uint64_t |
value | ) |
|
|
inline |
Sets a new symbol value.
- Parameters
-
- Since
- 1.1.0
The documentation for this class was generated from the following file: