»
Symbian OS v9.3 »
Symbian OS reference »
C++ component reference »
Messaging MSG_SMS8.1 »
CSmsServiceCenter
Location:
SMUTSET.H
Link against: smcm.lib
class CSmsServiceCenter : public CBase;
Description
Used to store Service Centre numbers and their associated name.
Derivation
CBase - Base class for all classes to be instantiated on the heap
CSmsServiceCenter - Used to store Service Centre numbers and their associated name
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
static IMPORT_C CSmsServiceCenter *NewL();
Description
Creates and allocates a new CSmsServiceCenter object.
Return value
static IMPORT_C CSmsServiceCenter *NewL(const CSmsServiceCenter &aSmsSC);
Description
Creates and allocates a new CSmsServiceCenter object, copying an existing object.
Parameters
Return value
IMPORT_C ~CSmsServiceCenter();
Description
Destructor.
static IMPORT_C CSmsServiceCenter *NewL();
Description
Return value
static IMPORT_C CSmsServiceCenter *NewL(const CSmsServiceCenter &aSmsSC);
Description
Parameters
Return value
IMPORT_C ~CSmsServiceCenter();
Description
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:
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:
IMPORT_C TPtrC Name() const;
Description
Gets the recipient name.
Return value
TPtrC
|
A descriptor with the recipient name.
|
|
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:
IMPORT_C CSmsServiceCenter &CopyL(const CSmsServiceCenter &aSmsSc);
Description
Copies settings from another CSmsServiceCenter object.
Parameters
Return value
IMPORT_C TPtrC Address() const;
Description
Return value
IMPORT_C void SetAddressL(const TDesC &aAddress);
Description
Parameters
IMPORT_C TPtrC Name() const;
Description
Return value
IMPORT_C void SetNameL(const TDesC &aName);
Description
Parameters
IMPORT_C CSmsServiceCenter &CopyL(const CSmsServiceCenter &aSmsSc);
Description
Parameters
Return value