| FDO API Reference | Feature Data Objects |
#include <DataValue.h>
Inherits FdoLiteralValue.
Inherited by FdoBooleanValue, FdoByteValue, FdoDateTimeValue, FdoDecimalValue, FdoDoubleValue, FdoInt16Value, FdoInt32Value, FdoInt64Value, FdoLOBValue, FdoSingleValue, and FdoStringValue.
Inheritance diagram for FdoDataValue:
Definition at line 33 of file DataValue.h.
Public Member Functions | |
| virtual FDO_API FdoDataType | GetDataType ()=0 |
| Gets the data type of the FdoDataValue. | |
| virtual FDO_API FdoLiteralValueType | GetLiteralValueType () const |
| Gets the literal value type of the FdoDataValue. | |
| FdoString * | GetXmlValue () |
| virtual FDO_API bool | IsNull () |
| Returns true if the FdoDataValue represents a null value. | |
| virtual FDO_API void | SetNull () |
| Sets the FdoDataValue to a null value of the specified type. | |
Static Public Member Functions | |
| FdoDataValue * | Create (FdoString *value, FdoDataType dataType) |
| FDO_API FdoDataValue * | Create (FdoByteArray *value, FdoDataType dataType) |
| Constructs an instance of an FdoBLOBValue or FdoCLOBValue using the specified arguments. | |
| FDO_API FdoDataValue * | Create (FdoByte *value, FdoInt32 length, FdoDataType dataType) |
| Constructs an instance of an FdoBLOBValue or FdoCLOBValue using the specified arguments. | |
| FDO_API FdoDataValue * | Create (FdoString *value) |
| Constructs an instance of an FdoStringValue using the specified argument. | |
| FDO_API FdoDataValue * | Create (float value) |
| Constructs an instance of an FdoSingleValue using the specified argument. | |
| FDO_API FdoDataValue * | Create (FdoInt64 value) |
| Constructs an instance of an FdoInt64Value using the specified argument. | |
| FDO_API FdoDataValue * | Create (FdoInt32 value) |
| Constructs an instance of an FdoInt32Value using the specified argument. | |
| FDO_API FdoDataValue * | Create (FdoInt16 value) |
| Constructs an instance of an FdoInt16Value using the specified argument. | |
| FDO_API FdoDataValue * | Create (double value, FdoDataType dataType) |
| Constructs an instance of an FdoDecimalValue or FdoDoubleValue using the specified arguments. | |
| FDO_API FdoDataValue * | Create (FdoDateTime value) |
| Constructs an instance of an FdoDateTimeValue using the specified argument. | |
| FDO_API FdoDataValue * | Create (FdoByte value) |
| Constructs an instance of an FdoByteValue using the specified argument. | |
| FDO_API FdoDataValue * | Create (bool value) |
| Constructs an instance of an FdoBooleanValue using the specified argument. | |
| FDO_API FdoDataValue * | Create (FdoDataType dataType) |
| Constructs an instance of a null FdoDataValue using the specified arguments. | |
Protected Member Functions | |
| FdoCompareType | Compare (FdoDataValue *other) |
| DOXYGEN-IGNORE Compares this data value with another data value | |
| virtual FdoCompareType | DoCompare (FdoDataValue *other) |
| Type-specific comparison function. Each sub-class has its own implementation. | |
| FdoDataValue () | |
| Constructs a default instance of an FdoDataValue with data type string and a value of null. | |
| FdoCompareType | ReverseCompare (FdoDataValue *other) |
Protected Attributes | |
| bool | m_isNull |
| FdoStringP | m_XmlValue |
Friends | |
| class | FdoByteValue |
| class | FdoDecimalValue |
| class | FdoDoubleValue |
| class | FdoInt16Value |
| class | FdoInt32Value |
| class | FdoInt64Value |
| class | FdoInternalDataValue |
| DOXYGEN-IGNORE | |
| class | FdoSingleValue |
|
|
Constructs a default instance of an FdoDataValue with data type string and a value of null.
|
|
|
DOXYGEN-IGNORE Compares this data value with another data value
|
|
||||||||||||
|
|
|
||||||||||||
|
Constructs an instance of an FdoBLOBValue or FdoCLOBValue using the specified arguments.
|
|
||||||||||||||||
|
Constructs an instance of an FdoBLOBValue or FdoCLOBValue using the specified arguments.
|
|
|
Constructs an instance of an FdoStringValue using the specified argument.
Reimplemented in FdoStringValue. |
|
|
Constructs an instance of an FdoSingleValue using the specified argument.
Reimplemented in FdoSingleValue. |
|
|
Constructs an instance of an FdoInt64Value using the specified argument.
Reimplemented in FdoInt64Value, FdoIntBinValue, and FdoIntHexValue. |
|
|
Constructs an instance of an FdoInt32Value using the specified argument.
Reimplemented in FdoInt32Value. |
|
|
Constructs an instance of an FdoInt16Value using the specified argument.
Reimplemented in FdoInt16Value. |
|
||||||||||||
|
Constructs an instance of an FdoDecimalValue or FdoDoubleValue using the specified arguments.
|
|
|
Constructs an instance of an FdoDateTimeValue using the specified argument.
Reimplemented in FdoDateTimeValue. |
|
|
Constructs an instance of an FdoByteValue using the specified argument.
Reimplemented in FdoByteValue. |
|
|
Constructs an instance of an FdoBooleanValue using the specified argument.
Reimplemented in FdoBooleanValue. |
|
|
Constructs an instance of a null FdoDataValue using the specified arguments.
|
|
|
Type-specific comparison function. Each sub-class has its own implementation.
Reimplemented in FdoByteValue, FdoDateTimeValue, FdoDecimalValue, FdoDoubleValue, FdoInt16Value, FdoInt32Value, FdoInt64Value, FdoSingleValue, and FdoStringValue. |
|
|
Gets the data type of the FdoDataValue.
Implemented in FdoBLOBValue, FdoBooleanValue, FdoByteValue, FdoCLOBValue, FdoDateTimeValue, FdoDecimalValue, FdoDoubleValue, FdoInt16Value, FdoInt32Value, FdoInt64Value, FdoLOBValue, FdoSingleValue, and FdoStringValue. |
|
|
Gets the literal value type of the FdoDataValue.
Implements FdoLiteralValue. |
|
|
|
|
|
Returns true if the FdoDataValue represents a null value.
|
|
|
FdoCompareType_Greater when the other value is greater than this value FdoCompareType_Less when the other value is less than this value |
|
|
Sets the FdoDataValue to a null value of the specified type.
Reimplemented in FdoBLOBValue, FdoCLOBValue, FdoLOBValue, and FdoStringValue. |
|
|
Reimplemented in FdoDecimalValue, FdoDoubleValue, FdoInt16Value, FdoInt32Value, FdoInt64Value, FdoIntBinValue, FdoIntHexValue, and FdoSingleValue. Definition at line 37 of file DataValue.h. |
|
|
Definition at line 38 of file DataValue.h. |
|
|
Definition at line 39 of file DataValue.h. |
|
|
Reimplemented in FdoDecimalValue, FdoDoubleValue, FdoInt32Value, FdoInt64Value, FdoIntBinValue, FdoIntHexValue, and FdoSingleValue. Definition at line 40 of file DataValue.h. |
|
|
Reimplemented in FdoDecimalValue, FdoDoubleValue, FdoInt64Value, FdoIntBinValue, FdoIntHexValue, and FdoSingleValue. Definition at line 41 of file DataValue.h. |
|
|
Reimplemented in FdoDecimalValue, FdoDoubleValue, and FdoSingleValue. Definition at line 42 of file DataValue.h. |
|
|
DOXYGEN-IGNORE
Definition at line 36 of file DataValue.h. |
|
|
Reimplemented in FdoDecimalValue, and FdoDoubleValue. Definition at line 43 of file DataValue.h. |
|
|
Definition at line 281 of file DataValue.h. |
|
|
Definition at line 282 of file DataValue.h. |
| Comments or suggestions? Send us feedback. |