CVPbkContactStoreUriArray Class Reference

#include <app/CVPbkContactStoreUriArray.h>

class CVPbkContactStoreUriArray : public CBase

Inherits from

  • CVPbkContactStoreUriArray

    Detailed Description

    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.

    Constructor & Destructor Documentation

    ~CVPbkContactStoreUriArray ( )

    ~CVPbkContactStoreUriArray()

    Destructor.

    Member Function Documentation

    AppendAllL ( const CVPbkContactStoreUriArray & )

    IMPORT_C voidAppendAllL(const CVPbkContactStoreUriArray &aUriArray)

    Appends array of StoreUriPtr to this array.

    ParameterDescription
    aUriArrayArray of Store URIs to add array.

    AppendL ( const TVPbkContactStoreUriPtr & )

    IMPORT_C voidAppendL(const TVPbkContactStoreUriPtr &aStoreUri)

    Appends StoreUriPtr to this array.

    ParameterDescription
    aStoreUriStore URI to add array.

    Count ( )

    IMPORT_C TIntCount()const

    Returns the count of Store URIs in this array.

    Returns: Count of Store URIs in array.

    IsIncluded ( const TVPbkContactStoreUriPtr & )

    IMPORT_C TBoolIsIncluded(const TVPbkContactStoreUriPtr &aStoreUri)const

    Checks whether the given URI is already in this array.

    ParameterDescription
    aStoreUriStore URI to check.

    Returns: ETrue if Store URI is in this array, EFalse if not.

    NewL ( )

    IMPORT_C CVPbkContactStoreUriArray *NewL()[static]

    Creates a new instance of this class.

    Returns: Newly created instance of this class.

    NewLC ( )

    IMPORT_C CVPbkContactStoreUriArray *NewLC()[static]

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

    Returns: Newly created instance of this class.

    NewLC ( const TDesC8 & )

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

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

    ParameterDescription
    aPackedUrisPacked URIs created by using the PackLC functionality of this class.

    Returns: Newly created instance of this class.

    PackLC ( )

    IMPORT_C HBufC8 *PackLC()const

    Packs this URI array to a heap descriptor.

    Returns: Packed URI array in a heap descriptor.

    Remove ( const TVPbkContactStoreUriPtr & )

    IMPORT_C voidRemove(const TVPbkContactStoreUriPtr &aStoreUri)

    Removes StoreUriPtr from this array.

    ParameterDescription
    aStoreUriStore Uri to add array.

    operator[] ( TInt )

    IMPORT_C TVPbkContactStoreUriPtroperator[](TIntaIndex)const

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

    ParameterDescription
    aIndexIndex which URI Ptr is needed

    Returns: URI pointer descriptor.