Changes between Version 3 and Version 4 of FdoDataValueTypeConversion


Ignore:
Timestamp:
10/17/07 15:19:05 (17 years ago)
Author:
gregboone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FdoDataValueTypeConversion

    v3 v4  
    157157to convert an int64 to string. These functions hide the Win32 and Linux specific differences in doing these conversions.
    158158
     159
     160=== Issues ===
     161
     162Should an FdoStringValue::Create ( !FdoDataValue*, etc. ) function be added? It would make the API more consistent but provides limited added value over FdoStringValue::Create( !FdoString* ). For example, the following code could make use of this function:
     163
     164
     165{{{
     166FdoPtr<FdoInt32Value> val1 = FdoInt32::Create( 1234 );
     167FdoPtr<FdoStringValue> val2 = FdoStringValue::Create( val1 );
     168}}}
     169
     170However, the above can currently be done by:
     171
     172
     173{{{
     174FdoPtr<FdoInt32Value> val1 = FdoInt32::Create( 1234 );
     175FdoPtr<FdoStringValue> val2 = FdoStringValue::Create( val1->ToString() );
     176}}}
     177