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

OField

A field object represents a single column of data in a single record. OField objects are not independently opened; rather, you get them from an ODynaset. When navigation occurs on the dynaset, the OField object's value changes to the value of the column in the new current record. OFields are convenient because they always reflect the value of the field in the current record. (In some cases, however, you may find it more straightforward to manipulate field values directly from the ODynaset using the GetFieldValue and SetFieldValue methods.) OField is a subclass of OOracleObject.

You can get OField objects from either an ODynaset or OFieldCollection object, using the GetField method.

The OField class supports the following methods:

Construction and destruction:

OField

~OField

operator=

Attributes:

operator==
operator!=
GetName
GetOriginalName
GetPrecision
GetScale
GetServerSize
GetServerType
GetSize
GetXMLAsAttribute
GetXMLTagName
IsNullOK
IsOpen
IsTruncated
SetXMLAsAttribute

SetXMLTagName

Operations:

AppendChunk
Close
GetChunk
GetDynaset
GetValue

operator const char *
operator double
operator int

operator long
operator OBfile
operator OBlob

operator OClob
operator OCollection
operator OObject
operator ORef
SetValue
Error Handling:

ErrorNumber

ErrorReset

GetErrorText

LookupErrorText


 
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