Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: SMUTSET.H
Link against: smcm.lib

Class CSmsServiceCenter

class CSmsServiceCenter : public CBase;

Description

Used to store Service Centre numbers and their associated name.

Derivation

Members

Defined in CSmsServiceCenter:
Address(), Address(), CopyL(), CopyL(), Name(), Name(), NewL(), NewL(), NewL(), NewL(), SetAddressL(), SetAddressL(), SetNameL(), SetNameL(), ~CSmsServiceCenter(), ~CSmsServiceCenter()

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


Construction and destruction


NewL()

static IMPORT_C CSmsServiceCenter *NewL();

Description

Creates and allocates a new CSmsServiceCenter object.

Return value

CSmsServiceCenter *

The new object.


NewL()

static IMPORT_C CSmsServiceCenter *NewL(const CSmsServiceCenter &aSmsSC);

Description

Creates and allocates a new CSmsServiceCenter object, copying an existing object.

Parameters

const CSmsServiceCenter &aSmsSC

Return value

CSmsServiceCenter *

The new object.


~CSmsServiceCenter()

IMPORT_C ~CSmsServiceCenter();

Description

Destructor.


NewL()

static IMPORT_C CSmsServiceCenter *NewL();

Description

Return value

CSmsServiceCenter *


NewL()

static IMPORT_C CSmsServiceCenter *NewL(const CSmsServiceCenter &aSmsSC);

Description

Parameters

const CSmsServiceCenter &aSmsSC

Return value

CSmsServiceCenter *


~CSmsServiceCenter()

IMPORT_C ~CSmsServiceCenter();

Description

[Top]


Member functions


Address()

IMPORT_C TPtrC Address() const;

Description

Gets the recipient address.

The address is a telephone number. It is limited to a maximum length specified by KSmcmSmsNumberMaxNumberLength.

Return value

TPtrC

A descriptor with the recipient address.

See also:


SetAddressL()

IMPORT_C void SetAddressL(const TDesC &aAddress);

Description

Sets the recipient address.

The address is a telephone number. It is limited to a maximum length specified by KSmcmSmsNumberMaxNumberLength.

Parameters

const TDesC &aAddress

The recipient address.

See also:


Name()

IMPORT_C TPtrC Name() const;

Description

Gets the recipient name.

Return value

TPtrC

A descriptor with the recipient name.


SetNameL()

IMPORT_C void SetNameL(const TDesC &aName);

Description

Sets the recipient name.

The name is limited to a maximum length specified by KSmcmSmsNumberMaxNameLength.

Parameters

const TDesC &aName

The recipient name.

See also:


CopyL()

IMPORT_C CSmsServiceCenter &CopyL(const CSmsServiceCenter &aSmsSc);

Description

Copies settings from another CSmsServiceCenter object.

Parameters

const CSmsServiceCenter &aSmsSc

The object to be copied.

Return value

CSmsServiceCenter &

This object with the updated settings.


Address()

IMPORT_C TPtrC Address() const;

Description

Return value

TPtrC


SetAddressL()

IMPORT_C void SetAddressL(const TDesC &aAddress);

Description

Parameters

const TDesC &aAddress


Name()

IMPORT_C TPtrC Name() const;

Description

Return value

TPtrC


SetNameL()

IMPORT_C void SetNameL(const TDesC &aName);

Description

Parameters

const TDesC &aName


CopyL()

IMPORT_C CSmsServiceCenter &CopyL(const CSmsServiceCenter &aSmsSc);

Description

Parameters

const CSmsServiceCenter &aSmsSc

Return value

CSmsServiceCenter &