Changes between Version 1 and Version 2 of FdoDataValueCompare


Ignore:
Timestamp:
Oct 17, 2007, 2:54:47 PM (17 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FdoDataValueCompare

    v1 v2  
    3131• the two values cannot be compared[[br]]
    3232
     33=== API Changes ===
     34
     35The following function will be added:
     36
     37
     38{{{
     39FDO_API FdoCompareType FdoDataValue::Compare( FdoDataValue* other );
     40}}}
     41
     42where the input parameter ''other'' is the other value to compare against the current value.
     43
     44The return values can be one of the following:
     45
     46''!FdoCompareType_Equal'': this and the other value are equal or both null[[br]]
     47''!FdoCompareType_Greater'': this value is greater than the other value[[br]]
     48''!FdoCompareType_Less'': this value is less than the other value[[br]]
     49''!FdoCompareType_Undefined'': these two values are different but cannot be compared.
     50
     51Cases where !FdoCompareType_Undefined happens are:
     52
     53• their types are incompatible[[br]]
     54• one value is null and the other value is not[[br]]
     55• both values are Boolean and one is true and the other is false[[br]]
     56
     57The following enumeration will be added:
     58
     59
     60{{{
     61enum FdoCompareType
     62{
     63    FdoCompareType_Undefined,
     64    FdoCompareType_Less,
     65    FdoCompareType_Greater,
     66    FdoCompareType_Equal
     67};
     68}}}