CSmsNonIEOperation Class Reference

class CSmsNonIEOperation : public CBase

SMS Stack clients use specialisations of this class to configure a SMS Message with parameters which are not a type of Information Element.

Each parameter that uses this interface is supported by a class derived from CSmsNonIEOperation. The derived class operates on the CSmsMessage, allowing the client to add, remove and access these parameters inside the CSmsMessage.

The client gets access to an operations class using the following interface:

CSmsNonIEOperation& CSmsMessage::GetOperationsForNonIEL(TSmsNonIEIdentifier aId);

When the CSmsMessage is deleted, all its associated CSmsNonIEOperations classes are also deleted and references to them become stale. Each instance of the CSmsNonIEOperation Class is an attribute of the CSmsMessage itself.

Inherits from

Constructor & Destructor Documentation

CSmsNonIEOperation(TSmsNonIEIdentifier, CSmsMessage &)

CSmsNonIEOperation(TSmsNonIEIdentifieraId,
CSmsMessage &aMessage
)[protected]

Parameters

TSmsNonIEIdentifier aId
CSmsMessage & aMessage

~CSmsNonIEOperation()

~CSmsNonIEOperation()[inline, virtual]

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Id()

IMPORT_C TSmsNonIEIdentifierId()const

Identifies the element which is supported by this operations class.

capability
None

MessageTypeSupported()

TBool MessageTypeSupported()const [protected, virtual]

Identifies whether the message type supports is supported

NewL(TSmsNonIEIdentifier, CSmsMessage &)

CSmsNonIEOperation *NewL(TSmsNonIEIdentifieraId,
CSmsMessage &aMessage
)[static]

This is used by the CSmsMessage to create a CSmsNonIEOperation. Each instance is owned by the CSmsMessage which created it. Therefore only the CSmsMessage (GSMU component) is allowed to create and delete CSmsNonIEOperations.

Parameters

TSmsNonIEIdentifier aIdThe ID for the element for which an operation class needs to be created.
CSmsMessage & aMessageThe CSmsMessage that this operations class belongs to.

ValidateOperationL()

voidValidateOperationL()const [protected, inline, virtual]

operator=(const CSmsNonIEOperation &)

voidoperator=(const CSmsNonIEOperation &)[protected]

Prevent clients from using the assignment operator by including it in the class definition but making it protected and not exporting it.

capability
None

Parameters

const CSmsNonIEOperation &

operator==(const CSmsNonIEOperation &)

TBool operator==(const CSmsNonIEOperation &)[protected]

Prevent clients from using the equality operator by including it in the class definition but making it protected and not exporting it.

capability
None

Parameters

const CSmsNonIEOperation &

Member Data Documentation

TSmsNonIEIdentifier iId

TSmsNonIEIdentifier iId[private]

CSmsMessage & iMessage

CSmsMessage &iMessage[protected]