CVPbkContactStoreUriArray Class Reference

class CVPbkContactStoreUriArray : public CBase

Virtual Phonebook contact store URI array. Responsible for implementing a container for contact store URI's. In addition to common container behaviour the class can internalize and externalize store URI's from and to descriptors.

Inherits from

Constructor & Destructor Documentation

CVPbkContactStoreUriArray()

CVPbkContactStoreUriArray ( ) [private]

~CVPbkContactStoreUriArray()

~CVPbkContactStoreUriArray ( )

Destructor.

Member Functions Documentation

AppendAllL(const CVPbkContactStoreUriArray &)

IMPORT_C void AppendAllL ( const CVPbkContactStoreUriArray & aUriArray )

Appends array of StoreUriPtr to this array.

Parameters

const CVPbkContactStoreUriArray & aUriArray Array of Store URIs to add array.

AppendL(const TVPbkContactStoreUriPtr &)

IMPORT_C void AppendL ( const TVPbkContactStoreUriPtr & aStoreUri )

Appends StoreUriPtr to this array.

Parameters

const TVPbkContactStoreUriPtr & aStoreUri Store URI to add array.

CalculateExternalizedSize()

TInt CalculateExternalizedSize ( ) const [private]

ConstructL()

void ConstructL ( ) [private, inline]

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aPackedUris ) [private, inline]

Parameters

const TDesC8 & aPackedUris

Count()

IMPORT_C TInt Count ( ) const

Returns the count of Store URIs in this array.

IsIncluded(const TVPbkContactStoreUriPtr &)

IMPORT_C TBool IsIncluded ( const TVPbkContactStoreUriPtr & aStoreUri ) const

Checks whether the given URI is already in this array.

Parameters

const TVPbkContactStoreUriPtr & aStoreUri Store URI to check.

NewL()

IMPORT_C CVPbkContactStoreUriArray * NewL ( ) [static]

Creates a new instance of this class.

NewLC()

IMPORT_C CVPbkContactStoreUriArray * NewLC ( ) [static]

Creates a new instance of this class. Leaves the instance to the cleanup stack.

NewLC(const TDesC8 &)

IMPORT_C CVPbkContactStoreUriArray * NewLC ( const TDesC8 & aPackedUris ) [static]

Creates a new instance of this class internalizing the contents of the descriptor.

Parameters

const TDesC8 & aPackedUris Packed URIs created by using the PackLC functionality of this class.

PackLC()

IMPORT_C HBufC8 * PackLC ( ) const

Packs this URI array to a heap descriptor.

Remove(const TVPbkContactStoreUriPtr &)

IMPORT_C void Remove ( const TVPbkContactStoreUriPtr & aStoreUri )

Removes StoreUriPtr from this array.

Parameters

const TVPbkContactStoreUriPtr & aStoreUri Store Uri to add array.

operator[](TInt)

IMPORT_C TVPbkContactStoreUriPtr operator[] ( TInt aIndex ) const

Gets the URI pointer descriptor from this array at the given index.

Parameters

TInt aIndex Index which URI Ptr is needed

Member Data Documentation

RPointerArray< CVPbkContactStoreUri > iUris

RPointerArray < CVPbkContactStoreUri > iUris [private]