| |
CRBase Class Members
- Construction/Destruction
CRBase: Constructs a
CRBase object.
~CRBase: Destroys a
CRBase object.
-
Methods
OpenRBase: Opens
a CRBase through an interface to a rowset.
Close: Closes a
CRBase by releasing all the associated interfaces, allocated memories and
resources.
//Navigating records
MoveFirst: Moves
to the first record.
MoveNext: Moves to
the next record.
MovePrev: Moves to
the previous record.
MoveLast: Moves to
the last record.
//Accessing fields
GetData: Gets a
pointer to a field data.
GetDataEx: Gets a
field data by creating a temporary accessor.
GetBLOB: Gets a
BLOB by creating a temporary accessor through a storage object.
SetData: Sets a
data for a field.
SetDataEx: Sends
a field data into a data source by creating a temporary accessor.
GetBookmark:
Gets a pointer to a bookmark buffer.
GetBookmarkLen:
Gets the length of a bookmark data in bytes.
GetLength: Gets
the length of a field data in bytes.
GetLengthPtr:
Gets a pointer to a buffer holding the length of a field data.
GetStatus: Gets
the status of a field.
GetStatusPtr:
Gets a pointer to a buffer holding the status of a field.
GetLenStatus:
Gets the length of a field data in bytes and the field status by creating a
temporary accessor.
//Modifying internal DBBINDING structures, internal
accessors and buffer
SetDataType:
Forces a provider to do data conversions into a data type.
SetDBPart:
Discards/regains back columns, and modifies bounded data.
//Others
FindColOrdinal:
Computes the ordinal from a column name.
FreeRecordMemory:
Frees all the provider-allocated memories in the current record.
GetBaseIID: Mainly used by
global template
functions.
GetBaseInterfacePPtr:
Mainly used by global template
functions.
GetBookmarkType:
Gets the data type of a bookmark.
GetColInfo: Gets a pointer to an array
of DBCOLUMNINFO structures.
GetColName: Gets
the column name.
GetCols: Gets the
number of columns of a rowset.
GetDBMemOwner:
Gets the responsibility of freeing a field memory.
GetDBPart: Gets
the bound part of a field.
GetMaxLength:
Gets the max length of a field buffer.
GetRefGuid: Mainly used by
global template
functions.
GetRowsObtained:
Gets the actual number of records in a batch.
GetRowsetProperty:
Gets the rowset property.
GetSession: Gets
the session which created this rwset.
IsBLOB: Checks if a
field is a BLOB.
IsBookmarked:
Checks if a rowset has a bookmark field.
IsChapter: Checks
if a column is a chapter.
IsEOF: Checks if a
cursor is positioned at the end of a rowset.
IsNullable:
Checks if a field can be nullable.
OnCreatingAccessors:
Called by framework to inform a caller that internal accessors will be
created soon.
PostProcess: Mainly used by
global template
functions.
SetChapter: Sets
a chapter handle.
SetBatchSize:
Sets the size of a batch records.
Writable: Checks
if a field is updateable.
CRBase Class Overview |