Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
|
An OValue object is a convenient place to store data of a variety of different types. It is also useful as a way to convert between different types. You can use OValues to get and set field values in a type-independent fashion. OValue is a subclass of OOracleObject.
OValue has a rich set of constructors and SetValue methods to set values using different types and cast operators to obtain the value from an OValue instance. The Clear method sets the value to a database NULL value (which is not the same as a C++ NULL). The IsNull method checks to see whether the current value is NULL.
The OValue class supports the following methods:
Construction and destruction:
Attributes:
IsNull IsOpen |
operator== operator!= |