|
|
|
|
Location:
cntviewbase.h
Link against: cntmodel.lib
class RContactViewSortOrder;
Specifies the sort order for a contact view.
It is implemented as an array of TFieldType UIDs, which define the fields whose contents are used to sort on, and their order.
The sort order for all concrete contact view classes can be retrieved using their implementation of CContactViewBase::SortOrderL(). The sort order is set during construction of local and remote views.
Defined in RContactViewSortOrder:
AppendL(), Close(), CopyL(), Count(), ExternalizeL(), ExternalizedSize(), InternalizeL(), RContactViewSortOrder(), operator==(), operator[]()
IMPORT_C void CopyL(const RContactViewSortOrder &aSortOrder);
Copies the field types contained in the specified sort order object into this object.
Any existing field types in this object are replaced.
|
IMPORT_C void InternalizeL(RReadStream &aStream);
Internalises a sort order object from a read stream.
|
IMPORT_C void ExternalizeL(RWriteStream &aStream) const;
Externalises a sort order object to a write stream.
|
IMPORT_C TInt ExternalizedSize() const;
Retrieves the number of bytes required to store the sort order when externalised.
|
IMPORT_C TBool operator==(const RContactViewSortOrder &aSortOrder) const;
Compares two sort order objects for equivalence.
|
|
inline void AppendL(TFieldType aField);
Appends a field type to the sort order object.
|
inline TFieldType operator[](TInt aIndex) const;
Gets an indexed field type.
|
|
inline TInt Count() const;
Gets the number of field types in the sort order array.
|