class TSqlBufWIterator |
TSqlBufWIterator iterator gives write-only access to the flat buffer content ( RSqlBufFlat class). For convenience, with TSqlBufWIterator flat buffer fields can be set as: TInt, TInt64, TReal, 16-bit text, 8-bit binary block.
Public Member Functions | |
---|---|
void | MoveTo ( TInt ) |
TBool | Next () |
void | Set ( RSqlBufFlat &) |
void | SetAsNotPresent ( TInt , TInt ) |
TInt | SetBinary (const TDesC8 &) |
TInt | SetInt ( TInt ) |
TInt | SetInt64 ( TInt64 ) |
void | SetNull () |
TInt | SetReal ( TReal ) |
TInt | SetText (const TDesC16 &) |
TInt | SetZeroBlob ( TInt ) |
Private Attributes | |
---|---|
RSqlBufFlat * | iBuf |
TInt | iIndex |
void | MoveTo | ( | TInt | aIndex | ) | [inline] |
Moves to the specified field in the flat buffer.
TInt aIndex | Field index |
void | Set | ( | RSqlBufFlat & | aBuf | ) | [inline] |
Initializes the iterator. After the initialization the iterator points to the first flat buffer field - 1.
RSqlBufFlat & aBuf | A reference to the buffer which will be iterated. |
void | SetAsNotPresent | ( | TInt | aType, |
TInt | aLength | |||
) | [inline] |
Sets the current flat buffer field as "Not present".
TInt | SetBinary | ( | const TDesC8 & | aValue | ) | [inline] |
Initializes current flat buffer field with a block of binary data.
const TDesC8 & aValue | An 8 bit descriptor pointing to the block of data to be set as a field content. |
TInt | SetInt | ( | TInt | aValue | ) | [inline] |
Initializes current flat buffer field with an integer value.
TInt aValue | An integer value to be set as a field content |
TInt | SetInt64 | ( | TInt64 | aValue | ) | [inline] |
Initializes current flat buffer field with an 64 bit integer value.
TInt64 aValue | A 64 bit integer value to be set as a field content |
TInt | SetReal | ( | TReal | aValue | ) | [inline] |
Initializes current flat buffer field with a real value.
TReal aValue | A real value to be set as a field content |
TInt | SetText | ( | const TDesC16 & | aValue | ) | [inline] |
Initializes current flat buffer field with a block of 16 bit text.
const TDesC16 & aValue | A 16 bit descriptor pointing to the block of text to be set as a field content. |
TInt | SetZeroBlob | ( | TInt | aSize | ) | [inline] |
Initializes current flat buffer field with a zeroblob of the specified size.
TInt aSize | The size, in bytes, of the zeroblob to be set as the field content. |
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.