Union of all value types representable by a Token in the Bond compiler.
More...
#include <bond/types/value.h>
|
| | Value () |
| | Constructs a Value object whose mInt member is 0.
|
| | Value (bool value) |
| | Constructs a Value object holding a bool in mBool.
|
| | Value (int32_t value) |
| | Constructs a Value object holding an int32_t in mInt.
|
| | Value (uint32_t value) |
| | Constructs a Value object holding a uint32_t in mUInt.
|
| | Value (int64_t value) |
| | Constructs a Value object holding an int64_t in mLong.
|
| | Value (uint64_t value) |
| | Constructs a Value object holding a uint64_t in mULong.
|
| | Value (float value) |
| | Constructs a Value object holding a float in mFloat.
|
| | Value (double value) |
| | Constructs a Value object holding a double in mDouble.
|
|
| bool | mBool |
| | The value as a bool.
|
| int32_t | mInt |
| | The value as a signed 32-bit integer.
|
| uint32_t | mUInt |
| | The value as an unsigned 32-bit integer.
|
| int64_t | mLong |
| | The value as a signed 64-bit integer.
|
| uint64_t | mULong |
| | The value as an unsigned 64-bit integer.
|
| float | mFloat |
| | The value as a float.
|
| double | mDouble |
| | The value as a double.
|
| struct | mString |
Union of all value types representable by a Token in the Bond compiler.
◆ Value() [1/8]
Constructs a Value object whose mInt member is 0.
◆ Value() [2/8]
| Bond::Value::Value |
( |
bool | value | ) |
|
|
inlineexplicit |
Constructs a Value object holding a bool in mBool.
◆ Value() [3/8]
| Bond::Value::Value |
( |
int32_t | value | ) |
|
|
inlineexplicit |
Constructs a Value object holding an int32_t in mInt.
◆ Value() [4/8]
| Bond::Value::Value |
( |
uint32_t | value | ) |
|
|
inlineexplicit |
Constructs a Value object holding a uint32_t in mUInt.
◆ Value() [5/8]
| Bond::Value::Value |
( |
int64_t | value | ) |
|
|
inlineexplicit |
Constructs a Value object holding an int64_t in mLong.
◆ Value() [6/8]
| Bond::Value::Value |
( |
uint64_t | value | ) |
|
|
inlineexplicit |
Constructs a Value object holding a uint64_t in mULong.
◆ Value() [7/8]
| Bond::Value::Value |
( |
float | value | ) |
|
|
inlineexplicit |
Constructs a Value object holding a float in mFloat.
◆ Value() [8/8]
| Bond::Value::Value |
( |
double | value | ) |
|
|
inlineexplicit |
Constructs a Value object holding a double in mDouble.
◆ mBool
◆ mDouble
| double Bond::Value::mDouble |
◆ mFloat
| float Bond::Value::mFloat |
◆ mInt
| int32_t Bond::Value::mInt |
The value as a signed 32-bit integer.
◆ mLong
| int64_t Bond::Value::mLong |
The value as a signed 64-bit integer.
◆ mString
◆ mUInt
| uint32_t Bond::Value::mUInt |
The value as an unsigned 32-bit integer.
◆ mULong
| uint64_t Bond::Value::mULong |
The value as an unsigned 64-bit integer.
The documentation for this union was generated from the following file:
- include/bond/types/value.h