Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: cmsvrecipientlist.h
Link against: msgs.lib
Link against: msgs_autoshutdown.lib

Class CMsvRecipientList

class CMsvRecipientList : public CBase;

Description

Derivation

Members

Defined in CMsvRecipientList:
AppendL(), AppendL(), Count(), Delete(), Delete(), RecipientList(), Reset(), Type(), operator[](), ~CMsvRecipientList()

Inherited from CBase:
Extension_(), operator new()


Construction and destruction


~CMsvRecipientList()

virtual ~CMsvRecipientList();

Description

Destructor.

[Top]


Member functions


Reset()

IMPORT_C void Reset();

Description

Deletes all elements from the array.


Count()

IMPORT_C TInt Count() const;

Description

The number of accounts for this message type.

Return value

TInt

The number of accounts.


AppendL()

IMPORT_C void AppendL(const TDesC &aPtr);

Description

Appends a new address as a 'to' recipient.

Parameters

const TDesC &aPtr

The address to add.


AppendL()

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

Description

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.


Delete()

IMPORT_C void Delete(TInt aPos);

Description

Deletes an existing address.

Parameters

TInt aPos

The index of the address to delete.


Delete()

IMPORT_C void Delete(TInt aPos, TInt aCount);

Description

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.


Type()

IMPORT_C TMsvRecipientType Type(TInt aPos) const;

Description

Returns the address type specified by the index given.

Parameters

TInt aPos

Return value

TMsvRecipientType


operator[]()

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

Description

Returns the address specified by the index given.

Parameters

TInt aIndex

The index of the address to return.

Return value

const TDesC &


RecipientList()

IMPORT_C const MDesC16Array &RecipientList() const;

Description

Return value

const MDesC16Array &