class TDbColSetIter |
Provides a useful way to iterate over the contents of a column set.
Public Member Functions | |
---|---|
TDbColSetIter (const CDbColSet &) | |
TDbColNo | Col () |
operator TAny * () | |
const TDbCol & | operator* () |
IMPORT_C TDbColSetIter & | operator++ () |
TDbColSetIter | operator++ ( TInt ) |
const TDbCol * | operator-> () |
Private Attributes | |
---|---|
const CArrayPakFlat < TDbCol > * | iArray |
const TDbCol * | iColumn |
TInt | iIndex |
IMPORT_C | TDbColSetIter | ( | const CDbColSet & | aColSet | ) |
const CDbColSet & aColSet |
TDbColNo | Col | ( | ) | const [inline] |
Returns a column ordinal in the set for the currently referenced column definition.
const TDbCol & | operator* | ( | ) | const [inline] |
Dereferences the iterator on the current column definition.
TDbColSetIter | operator++ | ( | TInt | ) | [inline] |
Moves the iterator to the next column in the set post increment operator.
Note that this is implemented in terms of the pre-increment operator, and is less efficient.
TInt |
const TDbCol * | operator-> | ( | ) | const [inline] |
Gets a member of the currently referenced column definition. This enables the use of the following constructs:
if (iter->iType==EDbColText && iter->iMaxLength<50)
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.