Datatype Classes
SourcePro DB insulates your applications from the variations in data types defined in different databases. Chapter 7, The Data Model, explains in detail how this is done. Applications written with the DB Interface Module work with the primitive C++ data types, plus these additional types:
*RWCString: Character data.
*RWDate: Date values.
*RWDateTime, RWTimeTuple and RWTimeTupleOffset: Date and Time values.
*RWDecimalPortable: Arbitrary precision decimal fraction data.
*RWDBBlob: Binary Large Objects (Blobs).
*RWDBDuration: Time periods.
*RWDBMBString: Multibyte character data.
*RWDBNullIndicator: Used for detecting NULL values when retrieving data from a relational database.
*RWDBValue: Supplied by the DB Interface Module to provide datatype normalization. It is visible to your applications as the datatype of a single cell of an RWDBRow or an RWDBMemTable. It is useful for applications that must manipulate data without knowing its type.
*RWWString: Wide character strings.
*RWBasicUString: UTF-16 Unicode strings.
The classes RWCString, RWDate, RWDateTime, RWDecimalPortable, RWWString, and RWBasicUString are from the Essential Tools Module of SourcePro Core; all other classes are in the DB Interface Module. Please see their respective sections in the Essential Tools Module User’s Guide and in this guide. For class descriptions, see the SourcePro API Reference Guide.