A helper structure for returning both the type and the value of an expression.
More...
#include "Expression.hpp"
|
| TypeT | Type |
| | The type of the result, can only be FloatNumber or IntNumber. More...
|
| |
| float | ValueFloat |
| | If Type==FloatNumber, this is the value of the result. Otherwise it is undefined. More...
|
| |
| int | ValueInt |
| | If Type==IntNumber, this is the value of the result. Otherwise it is undefined. More...
|
| |
A helper structure for returning both the type and the value of an expression.
| ExpressionT::ResultT::ResultT |
( |
float |
Value | ) |
|
|
inline |
| ExpressionT::ResultT::ResultT |
( |
int |
Value | ) |
|
|
inline |
| TypeT ExpressionT::ResultT::Type |
The type of the result, can only be FloatNumber or IntNumber.
| float ExpressionT::ResultT::ValueFloat |
If Type==FloatNumber, this is the value of the result. Otherwise it is undefined.
| int ExpressionT::ResultT::ValueInt |
If Type==IntNumber, this is the value of the result. Otherwise it is undefined.
The documentation for this struct was generated from the following file: