|
LuciadCPillar C# 2026.1.02
|
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. | |
| ExpressionValue (double value) | |
| Constructs the value object for a number value. | |
| ExpressionValue (float value) | |
| Constructs the value object for a number value. | |
| ExpressionValue (int value) | |
| Constructs the value object for an integer value. | |
| ExpressionValue (long value) | |
| Constructs the value object for a long integer (64 bit) value. | |
| ExpressionValue (Luciad.Expressions.ExpressionValue other) | |
| Constructs a copy of other. | |
| ExpressionValue (Luciad.Geometries.Geometry value) | |
Constructs the value object for a Geometry value. | |
| ExpressionValue (string value) | |
| Constructs the value object for a text value. | |
| double? | AsDouble () |
| Returns the double value, if the value object can be converted to a double. | |
| void | Dispose () |
| override bool | Equals (object other) |
| override int | GetHashCode () |
Static Public Member Functions | |
| static Luciad.Expressions.ExpressionValue | CreateNull () |
| Constructs the value object for a null value. | |
Properties | |
| bool | BoolValue [get] |
| The boolean value, if the value object contains a boolean. | |
| Luciad.Datamodels.DataType | DataType [get] |
| The type of the value stored within this value object. | |
| double | DoubleValue [get] |
| The double value, if the value object contains a double. | |
| float | FloatValue [get] |
| The float value, if the value object contains a float. | |
| Luciad.Geometries.Geometry | GeometryValue [get] |
| The geometry value, if the value object contains a geometry. | |
| int | IntValue [get] |
| The int value, if the value object contains an int. | |
| bool | IsNull [get] |
| Whether this value is null. | |
| long | LongValue [get] |
| The long integer value, if the value object contains a long int. | |
| string | StringValue [get] |
| The string value, if the value object contains a string. | |
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 DataType.getFloatType().
| value | the number. |
|
inline |
Constructs the value object for a number value.
The type of the value is DataType.getDoubleType().
| value | the number. |
|
inline |
Constructs the value object for an integer value.
The type of the value is DataType.getIntType().
| value | the number. |
|
inline |
Constructs the value object for a long integer (64 bit) value.
The type of the value is DataType.getLongType().
| value | the number. |
|
inline |
Constructs the value object for a boolean value.
The type of the value is DataType.getBooleanType().
| value | the boolean. |
|
inline |
Constructs a copy of other.
| other | Instance of the ExpressionValue. |
|
inline |
Constructs the value object for a text value.
The type of the value is DataType.getStringType().
| value | the text. |
|
inline |
Constructs the value object for a Geometry value.
The type of the value is DataType.getGeometryType().
| value | Geometry, cannot be null. |
|
inline |
Returns the double value, if the value object can be converted to a double.
|
inlinestatic |
Constructs the value object for a null value.
|
inline |
|
inline |
|
inline |
|
get |
The boolean value, if the value object contains a boolean.
Returns the boolean value, if the value object contains a boolean.
| System.InvalidOperationException | when the object does not contain a boolean. |
|
get |
The type of the value stored within this value object.
Returns the type of the value stored within this value object.
|
get |
The double value, if the value object contains a double.
Returns the double value, if the value object contains a double.
| System.InvalidOperationException | when the object does not contain a double. |
|
get |
The float value, if the value object contains a float.
Returns the float value, if the value object contains a float.
| System.InvalidOperationException | when the object does not contain a float. |
|
get |
The geometry value, if the value object contains a geometry.
Returns the geometry value, if the value object contains a geometry.
| System.InvalidOperationException | when the object does not contain a geometry. |
|
get |
The int value, if the value object contains an int.
Returns the int value, if the value object contains an int.
| System.InvalidOperationException | when the object does not contain an int. |
|
get |
Whether this value is null.
Returns whether this value is null.
|
get |
The long integer value, if the value object contains a long int.
Returns the long integer value, if the value object contains a long int.
| System.InvalidOperationException | when the object does not contain a long int. |
|
get |
The string value, if the value object contains a string.
Returns the string value, if the value object contains a string.
| System.InvalidOperationException | when the object does not contain a string. |