Changes between Version 13 and Version 14 of FDORfc30
- Timestamp:
- 11/21/08 09:24:11 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc30
v13 v14 93 93 ); 94 94 95 FDO_API static FdoDateTimeValue* FdoDateTimeValue::Create( 96 FdoDataValue* src, 97 FdoBoolean nullIfIncompatible = false, 98 FdoBoolean shift = true, 99 FdoBoolean truncate = false 100 ); 101 95 102 FDO_API static FdoDecimalValue* FdoDecimalValue::Create( 96 103 FdoDataValue* src, … … 160 167 '''dataType''' – specifies the destination type. This parameter is only specified for [http://svn.osgeo.org/fdo/trunk/Fdo/Unmanaged/Inc/Fdo/Expression/DataValue.h FdoDataValue::Create()]. For the other functions, the destination type is determined by the return type. 161 168 162 '''src''' – specifies the source type and value. It is converted to an FdoDataValueof the destination type.169 '''src''' – specifies the source type and value. It is converted to an [http://svn.osgeo.org/fdo/trunk/Fdo/Unmanaged/Inc/Fdo/Expression/DataValue.h FdoDataValue] of the destination type. 163 170 164 171 '''nullIfIncompatible''' – determines what happens if the source and destination types are incompatible (e.g. pass [http://svn.osgeo.org/fdo/trunk/Fdo/Unmanaged/Inc/Fdo/Expression/DateTimeValue.h FdoDateTimeValue] as src to [http://svn.osgeo.org/fdo/trunk/Fdo/Unmanaged/Inc/Fdo/Expression/BooleanValue.h FdoBooleanValue::Create()]): … … 180 187 ''false'': throw an exception 181 188 182 '''truncate''' – determines what happens if the value is outside the valid range for the destination type (e.g. convert 1000000 from [http://svn.osgeo.org/fdo/trunk/Fdo/Unmanaged/Inc/Fdo/Expression/Int32Value.h FdoInt32Value] to [http://svn.osgeo.org/fdo/trunk/Fdo/Unmanaged/Inc/Fdo/Expression/Int16Value.h FdoInt16Value]). Applicable only when both source and destination types are one of Boolean, Byte, Decimal, Double, Int16, Int32, Int64 or Single:189 '''truncate''' – determines what happens if the value is outside the valid range for the destination type (e.g. convert 1000000 from [http://svn.osgeo.org/fdo/trunk/Fdo/Unmanaged/Inc/Fdo/Expression/Int32Value.h FdoInt32Value] to [http://svn.osgeo.org/fdo/trunk/Fdo/Unmanaged/Inc/Fdo/Expression/Int16Value.h FdoInt16Value]). Applicable only when both source and destination types are one of Boolean, Byte, Decimal, Double, Int16, Int32, Int64 or Single: 183 190 184 191 ''true'': truncate the value to: