CPbkContactIter Class Reference
class CPbkContactIter : public CBase |
Phonebook contact iterator. Only iterates through recognised Phonebook contact cards, not groups or templates. NextL jumps over any other contacts.
Constructor & Destructor Documentation
CPbkContactIter(CPbkContactEngine &, TBool)
Member Functions Documentation
CurrentL()
Returns the current Phonebook contact, NULL if none.
FirstL()
Intializes the iterator to the first Phonebook contact.
GetCurrentL()
Returns the current Phonebook contact, NULL if none. Caller is responsible for deleting the contact, thus ownership of the contact item is passed to the client.
NewL(CPbkContactEngine &, TBool)
Creates a new instace of this class.
Parameters
CPbkContactEngine & aEngine | Phonebook engine whose contacts to iterate. |
TBool aUseMinimalRead = EFalse | Use ReadMinimalContactL instead of ReadContactL to read the contacts. |
NewLC(CPbkContactEngine &, TBool)
Same as NewL but leaves the created object on the cleanup stack. Creates a new instace of this class.
Parameters
CPbkContactEngine & aEngine | Phonebook engine whose contacts to iterate. |
TBool aUseMinimalRead = EFalse | Use ReadMinimalContactL instead of ReadContactL to read the contacts. |
NextL()
Advances the iterator to the next Phonebook contact.
ReadPhonebookContactL(TContactItemId)
Reads aId to a CContactItem and returns it if it is a standard contact card.
Reset()
Resets the iterator to null state.
Member Data Documentation
CContactItem * iCurrentItem
CPbkContactItem * iCurrentPbkItem
CPbkContactEngine & iEngine
const TBool iUseMinimalRead
const TBool | iUseMinimalRead | [private] |
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.