|
||
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()
Appends a field type to the sort order objectClose()
Closes the sort order array and frees all memory allocated to itCopyL()
Copies the field types contained in the specified sort order object into this objectCount()
Gets the number of field types in the sort order arrayExternalizeL()
Externalises a sort order object to a write streamExternalizedSize()
Retrieves the number of bytes required to store the sort order when externalisedInternalizeL()
Internalises a sort order object from a read streamRContactViewSortOrder()
Default C++ constructoroperator==()
Compares two sort order objects for equivalenceoperator[]()
Gets an indexed field typeIMPORT_C void Close();
Closes the sort order array and frees all memory allocated to it.
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.
|