#include <app/MVPbkContactLinkArray.h>
| class MVPbkContactLinkArray |
| Public Member Functions | |
|---|---|
| virtual | ~MVPbkContactLinkArray() |
| pure virtual const MVPbkContactLink & | At(TInt) |
| virtual TAny * | ContactLinkArrayExtension(TUid) |
| pure virtual TInt | Count() |
| pure virtual TInt | Find(const MVPbkContactLink &) |
| pure virtual HBufC8 * | PackLC() |
| pure virtual const MVPbkStreamable * | Streamable() |
| const MVPbkContactLink & | operator[](TInt) |
Virtual Phonebook contact link array. This interface can be used to handle a read-only array of contact links.
| const MVPbkContactLink & | At | ( | TInt | aIndex | ) | const [pure virtual] |
Returns a link in this array at aIndex.
Returns: Link in this array at aIndex.
| TInt | Count | ( | ) | const [pure virtual] |
Returns the number of links in this array.
Returns: Number of links in this array.
| TInt | Find | ( | const MVPbkContactLink & | aLink | ) | const [pure virtual] |
Searches this array for a link.
| Parameter | Description |
|---|---|
| aLink | the link to search. |
Returns: The index where aLink was found or KErrNotFound.
| HBufC8 * | PackLC | ( | ) | const [pure virtual] |
Packs the contents of this link array for IPC transfer.
See also: MVPbkContactLink::PackLC CVPbkContactManager::CreateLinksLC
| const MVPbkStreamable * | Streamable | ( | ) | const [pure virtual] |
Returns persistent streaming interface for this link array, or NULL if persistent streaming is not supported.
| const MVPbkContactLink & | operator[] | ( | TInt | aIndex | ) | const [inline] |
Conveniency wrapper for At().
Returns: Read-only reference to a contact link.