FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::Expression::DataValue Class Reference

Inherits OSGeo::FDO::Expression::LiteralValue.

Inherited by OSGeo::FDO::Expression::BooleanValue, OSGeo::FDO::Expression::ByteValue, OSGeo::FDO::Expression::DateTimeValue, OSGeo::FDO::Expression::DecimalValue, OSGeo::FDO::Expression::DoubleValue, OSGeo::FDO::Expression::Int16Value, OSGeo::FDO::Expression::Int32Value, OSGeo::FDO::Expression::Int64Value, OSGeo::FDO::Expression::LOBValue, OSGeo::FDO::Expression::SingleValue, and OSGeo::FDO::Expression::StringValue.

Inheritance diagram for OSGeo::FDO::Expression::DataValue:

[legend]
List of all members.

Detailed Description

The DataValue class derives from LiteralValue and represents a literal value such as a string or a number.


Public Member Functions

 DataValue (System::IntPtr unmanaged, System::Boolean autoDelete)
 Constructs a DataValue object based on an unmanaged instance of the object.
 DataValue (System::Byte value[], OSGeo::FDO::Schema::DataType dataType)
 Constructs an instance of an BLOBValue or CLOBValue using the specified arguments.
 DataValue (System::String *value)
 Constructs an instance of an StringValue using the specified argument.
 DataValue (System::Single value)
 Constructs an instance of an SingleValue using the specified argument.
 DataValue (System::Int64 value)
 Constructs an instance of an Int64Value using the specified argument.
 DataValue (System::Int32 value)
 Constructs an instance of an Int32Value using the specified argument.
 DataValue (System::Int16 value)
 Constructs an instance of an Int16Value using the specified argument.
 DataValue (System::Double value, OSGeo::FDO::Schema::DataType dataType)
 Constructs an instance of an DecimalValue or DoubleValue using the specified arguments.
 DataValue (System::DateTime value)
 Constructs an instance of an DateTimeValue using the specified argument.
 DataValue (System::Byte value)
 Constructs an instance of an ByteValue using the specified argument.
 DataValue (System::Boolean value)
 Constructs an instance of an BooleanValue using the specified argument.
 DataValue (OSGeo::FDO::Schema::DataType dataType)
 Constructs an instance of a null DataValue using the specified arguments.
__property OSGeo::FDO::Schema::DataType get_DataType ()
 Gets the data type of the DataValue.
System::Boolean IsNull ()
 Returns true if the DataValue represents a null value.
System::Void SetNull ()
 Sets the DataValue to a null value of the specified type.

Constructor & Destructor Documentation

OSGeo::FDO::Expression::DataValue::DataValue OSGeo::FDO::Schema::DataType  dataType  ) 
 

Constructs an instance of a null DataValue using the specified arguments.

Parameters:
dataType Input data type
Returns:
Returns nothing

OSGeo::FDO::Expression::DataValue::DataValue System::Boolean  value  ) 
 

Constructs an instance of an BooleanValue using the specified argument.

Parameters:
value Input a Boolean value
Returns:
Returns an BooleanValue

OSGeo::FDO::Expression::DataValue::DataValue System::Byte  value  ) 
 

Constructs an instance of an ByteValue using the specified argument.

Parameters:
value Input a byte
Returns:
Returns an ByteValue

OSGeo::FDO::Expression::DataValue::DataValue System::DateTime  value  ) 
 

Constructs an instance of an DateTimeValue using the specified argument.

Parameters:
value Input a DateTime
Returns:
Returns an DateTimeValue

OSGeo::FDO::Expression::DataValue::DataValue System::Double  value,
OSGeo::FDO::Schema::DataType  dataType
 

Constructs an instance of an DecimalValue or DoubleValue using the specified arguments.

Parameters:
value Input a double
dataType Input a data type
Returns:
Returns an DecimalValue or DoubleValue

OSGeo::FDO::Expression::DataValue::DataValue System::Int16  value  ) 
 

Constructs an instance of an Int16Value using the specified argument.

Parameters:
value Input a 16 bit integer
Returns:
Returns an Int16Value

OSGeo::FDO::Expression::DataValue::DataValue System::Int32  value  ) 
 

Constructs an instance of an Int32Value using the specified argument.

Parameters:
value Input a 32 bit integer
Returns:
Returns an Int32Value

OSGeo::FDO::Expression::DataValue::DataValue System::Int64  value  ) 
 

Constructs an instance of an Int64Value using the specified argument.

Parameters:
value Input a 64 bit integer
Returns:
Returns an Int64Value

OSGeo::FDO::Expression::DataValue::DataValue System::Single  value  ) 
 

Constructs an instance of an SingleValue using the specified argument.

Parameters:
value Input a single precision floating point value
Returns:
Returns an SingleValue

OSGeo::FDO::Expression::DataValue::DataValue System::String *  value  ) 
 

Constructs an instance of an StringValue using the specified argument.

Parameters:
value Input a character string
Returns:
Returns an StringValue

OSGeo::FDO::Expression::DataValue::DataValue System::Byte  value[],
OSGeo::FDO::Schema::DataType  dataType
 

Constructs an instance of an BLOBValue or CLOBValue using the specified arguments.

Parameters:
value Input a byte array
dataType Input the type of value to create
Returns:
Returns an BLOBValue or an CLOBValue

OSGeo::FDO::Expression::DataValue::DataValue System::IntPtr  unmanaged,
System::Boolean  autoDelete
 

Constructs a DataValue object based on an unmanaged instance of the object.

Parameters:
unmanaged Input A Pointer to the unmanaged object.
autoDelete Input Indicates if the constructed object should be automatically deleted once it no longer referenced.

Member Function Documentation

__property OSGeo ::FDO ::Schema ::DataType OSGeo::FDO::Expression::DataValue::get_DataType  ) 
 

Gets the data type of the DataValue.

Returns:
Returns an DataType

Reimplemented in OSGeo::FDO::Expression::BLOBValue, OSGeo::FDO::Expression::BooleanValue, OSGeo::FDO::Expression::ByteValue, OSGeo::FDO::Expression::CLOBValue, OSGeo::FDO::Expression::DateTimeValue, OSGeo::FDO::Expression::DecimalValue, OSGeo::FDO::Expression::DoubleValue, OSGeo::FDO::Expression::Int16Value, OSGeo::FDO::Expression::Int32Value, OSGeo::FDO::Expression::Int64Value, OSGeo::FDO::Expression::LOBValue, OSGeo::FDO::Expression::SingleValue, and OSGeo::FDO::Expression::StringValue.

System::Boolean OSGeo::FDO::Expression::DataValue::IsNull  ) 
 

Returns true if the DataValue represents a null value.

Returns:
Returns true if the DataValue represents a null value

System::Void OSGeo::FDO::Expression::DataValue::SetNull  ) 
 

Sets the DataValue to a null value of the specified type.

Returns:
Returns nothing

Reimplemented in OSGeo::FDO::Expression::BLOBValue, OSGeo::FDO::Expression::CLOBValue, OSGeo::FDO::Expression::LOBValue, and OSGeo::FDO::Expression::StringValue.


Comments or suggestions? Send us feedback.