CMsvRecipientList Class Reference

class CMsvRecipientList : public CBase

Inherits from

Constructor & Destructor Documentation

CMsvRecipientList()

CMsvRecipientList ( ) [private]

~CMsvRecipientList()

~CMsvRecipientList ( ) [virtual]

Destructor.

Member Functions Documentation

AppendL(const TDesC &)

IMPORT_C void AppendL ( const TDesC & aPtr )

Appends a new address as a 'to' recipient.

Parameters

const TDesC & aPtr The address to add.

AppendL(TMsvRecipientType, const TDesC &)

IMPORT_C void AppendL ( TMsvRecipientType aValue,
const TDesC & aPtr
)

Appends a new address a the given recipient type.

Parameters

TMsvRecipientType aValue The type of addressee. Possible types are EMtmRecipientTo, EMtmRecipientCc and EMtmRecipientBcc
const TDesC & aPtr The address to add.

ConstructL()

void ConstructL ( ) [private]

Count()

IMPORT_C TInt Count ( ) const

The number of accounts for this message type.

Delete(TInt)

IMPORT_C void Delete ( TInt aPos )

Deletes an existing address.

Parameters

TInt aPos The index of the address to delete.

Delete(TInt, TInt)

IMPORT_C void Delete ( TInt aPos,
TInt aCount
)

Deletes number of existing addresses.

Parameters

TInt aPos The start index of the addresses to delete.
TInt aCount The number of sequential addresses to delete.

NewL()

CMsvRecipientList * NewL ( ) [static]

Create a new CMsvRecipientList .

NewLC()

CMsvRecipientList * NewLC ( ) [static]

Create a new CMsvRecipientList .

RecipientList()

IMPORT_C const MDesCArray & RecipientList ( ) const

Reset()

IMPORT_C void Reset ( )

Deletes all elements from the array.

Type(TInt)

IMPORT_C TMsvRecipientType Type ( TInt aPos ) const

Returns the address type specified by the index given.

Parameters

TInt aPos

operator[](TInt)

IMPORT_C const TDesC & operator[] ( TInt aIndex ) const

Returns the address specified by the index given.

Parameters

TInt aIndex The index of the address to return.

Member Data Documentation

RArray< TMsvRecipientType > iRecipientType

RArray < TMsvRecipientType > iRecipientType [private]

CDesCArrayFlat * iRecipients

CDesCArrayFlat * iRecipients [private]