Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

OValue

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:

OValue

~OValue

operator=

Attributes:

IsNull
IsOpen

operator==
operator!=

Operations:

Clear
GetObjType
operator const char *
operator double

operator int
operator long
operator OBfile
operator OBlob


operator OClob
operator OCollection
operator OMetaData
operator OObject
operator ORef
SetEmpty
SetValue

 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback