TSqlBufRIterator Class Reference
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] |
IsPresent()
TBool
| IsPresent | ( | ) | const [inline] |
MoveTo(TInt)
void | MoveTo | ( | TInt | aIndex | ) | [inline] |
Moves to the specified field in the flat buffer.
Next()
Moves to the next flat buffer field
Set(const RSqlBufFlat &)
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()
-
leave
- KErrNoMemory, out of memory condition has occured, KErrArgument, the column type is not text, blob or null;
Type()
TInt
| Type | ( | ) | const [inline] |
Member Data Documentation
const RSqlBufFlat::TCell * iBegin
const RSqlBufFlat::TCell * iCurrent
const RSqlBufFlat::TCell * iEnd
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.