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

  • CVPbkContactStoreUriArray

Constructor & Destructor Documentation

CVPbkContactStoreUriArray()

CVPbkContactStoreUriArray()[private]

~CVPbkContactStoreUriArray()

~CVPbkContactStoreUriArray()

Destructor.

Member Functions Documentation

AppendAllL(const CVPbkContactStoreUriArray &)

IMPORT_C voidAppendAllL(const CVPbkContactStoreUriArray &aUriArray)

Appends array of StoreUriPtr to this array.

Parameters

const CVPbkContactStoreUriArray & aUriArrayArray of Store URIs to add array.

AppendL(const TVPbkContactStoreUriPtr &)

IMPORT_C voidAppendL(const TVPbkContactStoreUriPtr &aStoreUri)

Appends StoreUriPtr to this array.

Parameters

const TVPbkContactStoreUriPtr & aStoreUriStore URI to add array.

CalculateExternalizedSize()

TInt CalculateExternalizedSize()const [private]

ConstructL()

voidConstructL()[private, inline]

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aPackedUris)[private, inline]

Parameters

const TDesC8 & aPackedUris

Count()

IMPORT_C TIntCount()const

Returns the count of Store URIs in this array.

IsIncluded(const TVPbkContactStoreUriPtr &)

IMPORT_C TBoolIsIncluded(const TVPbkContactStoreUriPtr &aStoreUri)const

Checks whether the given URI is already in this array.

Parameters

const TVPbkContactStoreUriPtr & aStoreUriStore 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 & aPackedUrisPacked 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 voidRemove(const TVPbkContactStoreUriPtr &aStoreUri)

Removes StoreUriPtr from this array.

Parameters

const TVPbkContactStoreUriPtr & aStoreUriStore Uri to add array.

operator[](TInt)

IMPORT_C TVPbkContactStoreUriPtroperator[](TIntaIndex)const

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

Parameters

TInt aIndexIndex which URI Ptr is needed

Member Data Documentation

RPointerArray< CVPbkContactStoreUri > iUris

RPointerArray< CVPbkContactStoreUri >iUris[private]