TSqlBufRIterator Class Reference

class TSqlBufRIterator

TSqlBufRIterator iterator gives read-only access to the flat buffer content ( RSqlBufFlat class). For convenience TSqlBufRIterator can represent the flat buffer fields content as one of the basic SQL types: TInt, TInt64, TReal, 16-bit text, 8-bit binary block. The text and binary fields may be accessed also as a byte stream.

RSqlBufFlat

Member Functions Documentation

AsInt()

TInt AsInt ( ) const [private, inline]

AsInt64()

TInt64 AsInt64 ( ) const [private, inline]

AsReal()

TReal AsReal ( ) const [private, inline]

Binary()

TPtrC8 Binary ( ) const

Int()

TInt Int ( ) const

Int64()

TInt64 Int64 ( ) const

IsPresent()

TBool IsPresent ( ) const [inline]

MoveTo(TInt)

void MoveTo ( TInt aIndex ) [inline]

Moves to the specified field in the flat buffer.

Parameters

TInt aIndex Field index

Next()

TBool Next ( ) [inline]

Moves to the next flat buffer field

Real()

TReal Real ( ) const

Set(const RSqlBufFlat &)

void Set ( const RSqlBufFlat & aBuf ) [inline]

Initializes the iterator. After the initialization the iterator points to the first flat buffer field - 1.

Parameters

const RSqlBufFlat & aBuf A reference to the buffer which will be iterated.

Size()

TInt Size ( ) const [inline]

StreamL()

MStreamBuf * StreamL ( ) const
leave
KErrNoMemory, out of memory condition has occured, KErrArgument, the column type is not text, blob or null;

Text()

TPtrC16 Text ( ) const

Type()

TInt Type ( ) const [inline]

Member Data Documentation

const RSqlBufFlat::TCell * iBegin

const RSqlBufFlat::TCell * iBegin [private]

const RSqlBufFlat::TCell * iCurrent

const RSqlBufFlat::TCell * iCurrent [private]

const RSqlBufFlat::TCell * iEnd

const RSqlBufFlat::TCell * iEnd [private]