CDbCursor Class Reference

class CDbCursor : public CDbObject

Inherits from

Public Member Functions
TBool AtBeginning ()
TBool AtEnd ()
TBool AtRow ()
void Bookmark ( TDbBookmark::TMark &)
void Cancel ()
TDbColumn Column ( TDbColNo )
TDbColumnC ColumnC ( TDbColNo )
TInt ColumnCount ()
void ColumnDef ( TDbCol &, TDbColNo )
MStreamBuf * ColumnSinkL ( TDbColNo )
TInt ColumnSize ( TDbColNo )
MStreamBuf * ColumnSourceL ( TDbColNo )
TDbColType ColumnType ( TDbColNo )
IMPORT_C void ColumnsL ( CDbColSet &)
CDbRowConstraint * ConstraintL (const TDbQuery &)
IMPORT_C TInt CountL ( RDbRowSet::TAccuracy )
void DeleteL ()
TInt Evaluate ()
void Evaluate ( TRequestStatus &)
TBool EvaluateL ()
IMPORT_C TInt FindL ( RDbRowSet::TDirection , const TDbQuery &)
void GetL ()
TBool GotoL ( RDbRowSet::TPosition )
void GotoL (const TDbBookmark::TMark &)
void InsertL ( TInsert )
TBool MatchL ( CDbRowConstraint &)
void PutL ()
void Reset ()
RDbRow * RowBuffer ()
TBool SeekL (const TDbLookupKey &, RDbTable::TComparison )
void SetIndexL (const TDesC *)
void SetNullL ( TDbColNo )
TBool Unevaluated ()
void UpdateL ()
Protected Member Functions
CDbCursor ()
Private Member Functions
CDbRowConstraint * OpenConstraintL (const TDbQuery &)
IMPORT_C void Reserved_1 ()
IMPORT_C void Reserved_2 ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CDbObject::Attach(CDbObject *)
CDbObject::CDbObject()
CDbObject::Context()const
CDbObject::Destroy(CDbObject *)
CDbObject::PushL()
Public Member Enumerations
enum TInsert { EClear , ECopy }

Constructor & Destructor Documentation

CDbCursor()

CDbCursor ( ) [protected, inline]

Member Functions Documentation

AtBeginning()

TBool AtBeginning ( ) [pure virtual]

AtEnd()

TBool AtEnd ( ) [pure virtual]

AtRow()

TBool AtRow ( ) [pure virtual]

Bookmark(TDbBookmark::TMark &)

void Bookmark ( TDbBookmark::TMark & aMark ) [pure virtual]

Parameters

TDbBookmark::TMark & aMark

Cancel()

void Cancel ( ) [pure virtual]

Column(TDbColNo)

TDbColumn Column ( TDbColNo aCol ) [pure virtual]

Parameters

TDbColNo aCol

ColumnC(TDbColNo)

TDbColumnC ColumnC ( TDbColNo aCol ) [pure virtual]

Parameters

TDbColNo aCol

ColumnCount()

TInt ColumnCount ( ) [pure virtual]

ColumnDef(TDbCol &, TDbColNo)

void ColumnDef ( TDbCol & aCol,
TDbColNo aColNo
) [pure virtual]

Parameters

TDbCol & aCol
TDbColNo aColNo

ColumnSinkL(TDbColNo)

MStreamBuf * ColumnSinkL ( TDbColNo aCol ) [pure virtual]

Parameters

TDbColNo aCol

ColumnSize(TDbColNo)

TInt ColumnSize ( TDbColNo aCol ) [pure virtual]

Parameters

TDbColNo aCol

ColumnSourceL(TDbColNo)

MStreamBuf * ColumnSourceL ( TDbColNo aCol ) [pure virtual]

Parameters

TDbColNo aCol

ColumnType(TDbColNo)

TDbColType ColumnType ( TDbColNo aCol ) [pure virtual]

Parameters

TDbColNo aCol

ColumnsL(CDbColSet &)

IMPORT_C void ColumnsL ( CDbColSet & aColSet ) [virtual]

Parameters

CDbColSet & aColSet

ConstraintL(const TDbQuery &)

CDbRowConstraint * ConstraintL ( const TDbQuery & aCriteria )

Parameters

const TDbQuery & aCriteria

CountL(RDbRowSet::TAccuracy)

IMPORT_C TInt CountL ( RDbRowSet::TAccuracy aAccuracy ) [virtual]

Parameters

RDbRowSet::TAccuracy aAccuracy

DeleteL()

void DeleteL ( ) [pure virtual]

Evaluate()

TInt Evaluate ( )

Evaluate(TRequestStatus &)

void Evaluate ( TRequestStatus & aStatus ) [pure virtual]

Parameters

TRequestStatus & aStatus

EvaluateL()

TBool EvaluateL ( ) [pure virtual]

FindL(RDbRowSet::TDirection, const TDbQuery &)

IMPORT_C TInt FindL ( RDbRowSet::TDirection aDirection,
const TDbQuery & aCriteria
) [virtual]

Parameters

RDbRowSet::TDirection aDirection
const TDbQuery & aCriteria

GetL()

void GetL ( ) [pure virtual]

GotoL(RDbRowSet::TPosition)

TBool GotoL ( RDbRowSet::TPosition aPosition ) [pure virtual]

Parameters

RDbRowSet::TPosition aPosition

GotoL(const TDbBookmark::TMark &)

void GotoL ( const TDbBookmark::TMark & aMark ) [pure virtual]

Parameters

const TDbBookmark::TMark & aMark

InsertL(TInsert)

void InsertL ( TInsert aClearRow ) [pure virtual]

Parameters

TInsert aClearRow

MatchL(CDbRowConstraint &)

TBool MatchL ( CDbRowConstraint & aConstraint ) [pure virtual]

Parameters

CDbRowConstraint & aConstraint

OpenConstraintL(const TDbQuery &)

CDbRowConstraint * OpenConstraintL ( const TDbQuery & aCriteria ) [private, pure virtual]

Parameters

const TDbQuery & aCriteria

PutL()

void PutL ( ) [pure virtual]

Reserved_1()

IMPORT_C void Reserved_1 ( ) [private, virtual]

Reserved_2()

IMPORT_C void Reserved_2 ( ) [private, virtual]

Reset()

void Reset ( ) [pure virtual]

RowBuffer()

RDbRow * RowBuffer ( ) [pure virtual]

SeekL(const TDbLookupKey &, RDbTable::TComparison)

TBool SeekL ( const TDbLookupKey & aKey,
RDbTable::TComparison aComparison
) [pure virtual]

Parameters

const TDbLookupKey & aKey
RDbTable::TComparison aComparison

SetIndexL(const TDesC *)

void SetIndexL ( const TDesC * anIndex ) [pure virtual]

Parameters

const TDesC * anIndex

SetNullL(TDbColNo)

void SetNullL ( TDbColNo aCol ) [pure virtual]

Parameters

TDbColNo aCol

Unevaluated()

TBool Unevaluated ( ) [pure virtual]

UpdateL()

void UpdateL ( ) [pure virtual]

Member Enumerations Documentation

Enum TInsert

Enumerators

EClear
ECopy