TContactIter Class Reference
Iterates through the sorted contact items in a contact database.
A value of KNullContactId is returned by the iterator if a requested item cannot be found.
Constructor & Destructor Documentation
TContactIter(CContactDatabase &)
Constructs the object with a contact database.
Member Functions Documentation
FirstL()
Moves to the first contact item in the database.
GotoIndexL(TInt)
void | GotoIndexL | ( | TInt | aPos | ) | [private] |
GotoL(TContactItemId)
Moves to the specified contact item.
Parameters
TContactItemId aContactId | A contact item ID. Must not have a value of KNullContactId, or the function raises a panic. |
LastL()
Moves to the last contact item in the database.
NextL()
Moves to the next contact item in the database.
On a newly initialised TContactIter, this function moves to the first item.
PreviousL()
Moves to the previous contact item in the database.
Note: you must not call this function on a newly initialised database, otherwise the function raises a panic.
Reset()
Resets the iterator to its initialised state, so that a subsequent call to NextL() goes to the first item.
Member Data Documentation
CContactDatabase & iDatabase
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.