CDbColSet Class Reference
class CDbColSet : public CBase
|
Manages a set of column definitions which describe a table or rowset structure. Column definitions can be added and removed. The set can be iterated over, and ordinals for a column can be looked up.
The class is not intended for user derivation.
Constructor & Destructor Documentation
Member Functions Documentation
Clear()
Removes all of the columns from the column set.
Col(const TDesC &)
IMPORT_C const
TDbCol
*
|
Col
|
(
|
const
TDesC
&
|
aColName
|
)
|
const
|
Count()
TInt
|
Count
|
(
|
)
|
const [inline]
|
Returns the number of column definitions in the set.
Note that using a
TDbColSetIter
is another way to iterate through the contents of a
CDbColSet
.
Remove(const TDesC &)
IMPORT_C void
|
Remove
|
(
|
const
TDesC
&
|
aColName
|
)
|
|
operator[](TDbColNo)
Returns a column definition by its ordinal number in the set.
Note that using a
TDbColSetIter
is another way to iterate through the contents of a
CDbColSet
.
Parameters
TDbColNo
aCol
|
The ordinal number of the column in the set. Columns in a column set are numbered from 1 to Count(), unlike Symbian OS array classes. Ordinal 0 is reserved to represent the invalid column number KDbNullColNo.
|
Member Data Documentation
CArrayPakFlat< TDbCol > iColumns
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.