LuciadCPillar C# 2023.1.04
|
Value object to store the value of an Expression and its DataType. More...
Public Member Functions | |
ExpressionValue (bool value) | |
Constructs the value object for a boolean value. More... | |
ExpressionValue (double value) | |
Constructs the value object for a number value. More... | |
ExpressionValue (float value) | |
Constructs the value object for a number value. More... | |
ExpressionValue (int value) | |
Constructs the value object for an integer value. More... | |
ExpressionValue (long value) | |
Constructs the value object for a long integer (64 bit) value. More... | |
ExpressionValue (Luciad.Expressions.ExpressionValue other) | |
ExpressionValue (Luciad.Geometries.Geometry value) | |
Constructs the value object for a Geometry value. More... | |
ExpressionValue (string value) | |
Constructs the value object for a text value. More... | |
double? | AsDouble () |
Returns the double value, if the value object can be converted to a double. More... | |
void | Dispose () |
override bool | Equals (object other) |
override int | GetHashCode () |
Properties | |
bool | BoolValue [get] |
Luciad.Datamodels.DataType | DataType [get] |
double | DoubleValue [get] |
float | FloatValue [get] |
Luciad.Geometries.Geometry | GeometryValue [get] |
int | IntValue [get] |
long | LongValue [get] |
string | StringValue [get] |
Value object to store the value of an Expression and its DataType.
Users of this value object always must check the type of value stored and then call the appropriate method to retrieve the actual value.
|
inline |
Constructs the value object for a number value.
The type of the value is luciad::DataType::getFloatType().
value
the number.
|
inline |
Constructs the value object for a number value.
The type of the value is luciad::DataType::getDoubleType().
value
the number.
|
inline |
Constructs the value object for an integer value.
The type of the value is luciad::DataType::getIntType().
value
the number.
|
inline |
Constructs the value object for a long integer (64 bit) value.
The type of the value is luciad::DataType::getLongType().
value
the number.
|
inline |
Constructs the value object for a boolean value.
The type of the value is luciad::DataType::getBooleanType().
value
the boolean.
|
inline |
|
inline |
Constructs the value object for a text value.
The type of the value is luciad::DataType::getStringType().
value
the text.
Enables the instantiation with the string literals like ExpressionValue{"My string"}.
The type of the value is luciad::DataType::getStringType().
value
the text.
|
inline |
Constructs the value object for a Geometry value.
The type of the value is luciad::DataType::getGeometryType().
value
Geometry, cannot be nullptr.
|
inline |
Returns the double value, if the value object can be converted to a double.
the double value, if the value object can be converted to a double.
|
inline |
|
inline |
|
inline |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |