TDbKeyCol Class Reference
Defines a key column in an index.
The data members are public as this is really a structure to group the attributes of the key column together. Two non-default constructors are provided for convenience.
Constructor & Destructor Documentation
TDbKeyCol()
Constructs an uninitialised object. Default constructor. It is necessary because there are also non-default constructors in this class.
TDbKeyCol(const TDbKeyCol &)
Parameters
const
TDbKeyCol
&
|
This TDbKeyCol object will be constructed as an exact copy of aSrcKeyCol object.
|
TDbKeyCol(const TDesC &, TOrder)
IMPORT_C
|
TDbKeyCol
|
(
|
const
TDesC
&
|
aName,
|
|
TOrder
|
anOrder = EAsc
|
|
)
|
|
TDbKeyCol(const TDesC &, TInt, TOrder)
IMPORT_C
|
TDbKeyCol
|
(
|
const
TDesC
&
|
aName,
|
|
TInt
|
aLength,
|
|
TOrder
|
anOrder = EAsc
|
|
)
|
|
Member Functions Documentation
operator=(const TDbKeyCol &)
Parameters
const
TDbKeyCol
&
|
This TDbKeyCol object will be made to be an exact copy of aSrcKeyCol object.
|
Member Enumerations Documentation
Enum TOrder
Specifies whether a key column in an index should be sorted in ascending or descending order.
Enumerators
EAsc
|
Use ascending order.
|
EDesc
|
Use descending order.
|
Member Data Documentation
TInt
iLength
The maximum number of characters used to index Text or LongText columns. If equal to KDbUndefinedLength (the default), all the characters in the defined column will be used.
TDbColNameC
iName
The column name for the key.
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.