◆ Value() [1/3]
| Expression::Value::Value |
( |
enum Evaltype |
type, |
|
|
Tvalue |
value |
|
) |
| |
|
inline |
Constructor.
parameter type Evaltype type (INT/FLOAT) parameter Tvalue Tfloat value
◆ Value() [2/3]
| Expression::Value::Value |
( |
int |
valInt | ) |
|
|
inline |
Constructor.
parameter valInt integer value
◆ Value() [3/3]
| Expression::Value::Value |
( |
float |
valFloat | ) |
|
|
inline |
Constructor.
parameter Tfloat floating point real value
◆ getType()
| Tvaltype Expression::Value::getType |
( |
| ) |
const |
|
inline |
get value type
parameter Evaltype
retval Tvaltype value type
◆ getValue()
| Tvalue Expression::Value::getValue |
( |
| ) |
const |
|
inline |
get value
retval Tvalue value
◆ getValueFloat()
| Tfloat Expression::Value::getValueFloat |
( |
| ) |
const |
|
inline |
get value as floating point number
retval Tfloat value
◆ getValueInt()
| Tint Expression::Value::getValueInt |
( |
| ) |
const |
|
inline |
get value as integer number
retval Tint value
◆ isFloat()
| bool Expression::Value::isFloat |
( |
| ) |
const |
|
inline |
is the value an floating point value?
retval bool result
◆ isInt()
| bool Expression::Value::isInt |
( |
| ) |
const |
|
inline |
is the value an integer value?
retval bool result
◆ write()
| void Expression::Value::write |
( |
std::ostream & |
ostrm = std::cout | ) |
const |
|
inline |
write value to stream
parameter std::ostrm& stream
The documentation for this class was generated from the following files: