static const char* id | id |
static Hash _hash | _hash |
void set_hash (const Hash& x)
| set_hash |
The identifier [type] of the element.
Reimplemented from Element.
Hash hash ()
| hash |
[const]
Reimplemented from Element.
ElemInt32 ()
| ElemInt32 |
ElemInt32 (const char* c_str)
| ElemInt32 |
Construct via c-style string.
This is necessary in order to create elements via the ElementFactory. If c_str is null, then the element is assigned a default value. Null c_str is used by the semantic checker, to obtain "dummy" elements for validity checks.
Parameters:
c_str | initialize via string, or assign default value if null. |
ElemInt32 (const int32_t val)
| ElemInt32 |
string str ()
| str |
[const]
Returns: string representation of integer
Reimplemented from Element.
int32_t val ()
| val |
[const]
Returns: value of the element.
const char* type ()
| type |
[const]
Reimplemented from Element.