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 voidAppendL(const TDesC &aPtr)

Appends a new address as a 'to' recipient.

Parameters

const TDesC & aPtrThe address to add.

AppendL(TMsvRecipientType, const TDesC &)

IMPORT_C voidAppendL(TMsvRecipientTypeaValue,
const TDesC &aPtr
)

Appends a new address a the given recipient type.

Parameters

TMsvRecipientType aValueThe type of addressee. Possible types are EMtmRecipientTo, EMtmRecipientCc and EMtmRecipientBcc
const TDesC & aPtrThe address to add.

ConstructL()

voidConstructL()[private]

Count()

IMPORT_C TIntCount()const

The number of accounts for this message type.

Delete(TInt)

IMPORT_C voidDelete(TIntaPos)

Deletes an existing address.

Parameters

TInt aPosThe index of the address to delete.

Delete(TInt, TInt)

IMPORT_C voidDelete(TIntaPos,
TIntaCount
)

Deletes number of existing addresses.

Parameters

TInt aPosThe start index of the addresses to delete.
TInt aCountThe 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 voidReset()

Deletes all elements from the array.

Type(TInt)

IMPORT_C TMsvRecipientTypeType(TIntaPos)const

Returns the address type specified by the index given.

Parameters

TInt aPos

operator[](TInt)

IMPORT_C const TDesC &operator[](TIntaIndex)const

Returns the address specified by the index given.

Parameters

TInt aIndexThe index of the address to return.

Member Data Documentation

RArray< TMsvRecipientType > iRecipientType

RArray< TMsvRecipientType >iRecipientType[private]

CDesCArrayFlat * iRecipients

CDesCArrayFlat *iRecipients[private]