Changes between Version 13 and Version 14 of FDORfc30


Ignore:
Timestamp:
11/21/08 09:24:11 (16 years ago)
Author:
brentrobinson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc30

    v13 v14  
    9393 );
    9494 
     95FDO_API static FdoDateTimeValue* FdoDateTimeValue::Create(
     96     FdoDataValue* src,
     97     FdoBoolean nullIfIncompatible = false,
     98     FdoBoolean shift = true,
     99     FdoBoolean truncate = false
     100 );
     101 
    95102FDO_API static FdoDecimalValue* FdoDecimalValue::Create(
    96103     FdoDataValue* src,
     
    160167 '''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.
    161168
    162  '''src''' – specifies the source type and value. It is converted to an FdoDataValue of 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.
    163170
    164171 '''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()]):
     
    180187   ''false'': throw an exception
    181188
    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:
    183190
    184191  ''true'': truncate the value to: