CContactDatabase::TSortPref Class Reference
Link against: cntmodel.lib
class CContactDatabase::TSortPref |
Detailed Description
Specifies the field type and order preferences used for sorting items in the contacts database.
The contents of the first field in a contact item matching the field type is used as the data to sort on. The order can either be ascending or descending.
See also: CContactDatabase::SortL() CContactDatabase::SortArrayL()
Deprecated
Member Attribute Documentation
iFieldType
The first field matching this field type is used for the text to sort on.
iOrder
Specifies whether the sort should be ascending or descending.
Member Enumeration Documentation
Enum TOrder
Enumerator | Value | Description |
---|
EAsc | |
Ascending sort order.
|
EDesc | |
Descending sort order.
|
Constructor & Destructor Documentation
TSortPref ( )
Constructs a TSortPref object. The order is initialised to EAsc and the field type to KNullUid. Deprecated
TSortPref ( TFieldType, TOrder )
Parameter | Description | aFieldType | Specifies the field type to sort on. |
aOrder | Specifies the sort order. |
Member Function Documentation
ExternalizeL ( RWriteStream & )
Store this TSortPref object in the given stream.
Parameter | Description | aStream | Stream to write TSortPref object state to. |
InternalizeL ( RReadStream & )
Initialise this TSortPref object from the given stream.
Parameter | Description | aStream | Stream to read TSortPref object state from. |