RContactViewSortOrder Class Reference
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.
Constructor & Destructor Documentation
RContactViewSortOrder()
IMPORT_C | RContactViewSortOrder | ( | ) | |
Member Functions Documentation
AppendL(TFieldType)
Appends a field type to the sort order object.
Close()
Closes the sort order array and frees all memory allocated to it.
CopyL(const RContactViewSortOrder &)
Copies the field types contained in the specified sort order object into this object.
Any existing field types in this object are replaced.
Count()
TInt
| Count | ( | ) | const [inline] |
Gets the number of field types in the sort order array.
ExternalizeL(RWriteStream &)
Externalises a sort order object to a write stream.
ExternalizedSize()
IMPORT_C TInt | ExternalizedSize | ( | ) | const |
Retrieves the number of bytes required to store the sort order when externalised.
InternalizeL(RReadStream &)
Internalises a sort order object from a read stream.
operator==(const RContactViewSortOrder &)
Compares two sort order objects for equivalence.
operator[](TInt)
Gets an indexed field type.
Parameters
TInt aIndex | Index of the required field type. A panic occurs if this is invalid. |
Member Data Documentation
RArray< TFieldType > iFields
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.