CSmsSpecialSMSMessageOperations Class Reference

class CSmsSpecialSMSMessageOperations : public CSmsCtrlOperation

Clients use this class to configure a CSmsMessage with a Special SMS Message Indication Information Element per 23.040 v6.5.0 section 9.2.3.24.2.

Inherits from

Public Member Functions
CSmsSpecialSMSMessageOperations(CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &)
~CSmsSpecialSMSMessageOperations()
IMPORT_C voidAddSpecialMessageIndicationL(TBool, TSmsMessageIndicationType, TExtendedSmsIndicationType, TSmsMessageProfileType, TUint8)
IMPORT_C TUintGetCountOfSpecialMessageIndicationsL()
IMPORT_C voidGetMessageIndicationIEL(TUint, TBool &, TSmsMessageIndicationType &, TExtendedSmsIndicationType &, TSmsMessageProfileType &, TUint8 &)
IMPORT_C voidRemoveAllSpecialMessageIndicationsL()
IMPORT_C voidRemoveSpecialMessageIndicationL(TSmsMessageIndicationType, TExtendedSmsIndicationType)
Protected Member Functions
voidValidateOperationL()
voidoperator=(const CSmsSpecialSMSMessageOperations &)
TBool operator==(const CSmsSpecialSMSMessageOperations &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSmsCtrlOperation::CSmsCtrlOperation(CSmsInformationElement::TSmsInformationElementIdentifier,CSmsMessage &)
CSmsCtrlOperation::operator=(const CSmsCtrlOperation &)
CSmsCtrlOperation::operator==(const CSmsCtrlOperation &)
CSmsCtrlOperation::~CSmsCtrlOperation()
CSmsIEOperation::CSmsIEOperation(CSmsInformationElement::TSmsInformationElementIdentifier,CSmsMessage &)
CSmsIEOperation::Id()const
CSmsIEOperation::MessageTypeSupported()const
CSmsIEOperation::NewL(CSmsInformationElement::TSmsInformationElementIdentifier,CSmsMessage &,CCnvCharacterSetConverter &,RFs &)
CSmsIEOperation::operator=(const CSmsIEOperation &)
CSmsIEOperation::operator==(const CSmsIEOperation &)
CSmsIEOperation::~CSmsIEOperation()
Inherited Attributes
CSmsIEOperation::iMessage

Constructor & Destructor Documentation

CSmsSpecialSMSMessageOperations(CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &)

CSmsSpecialSMSMessageOperations(CSmsInformationElement::TSmsInformationElementIdentifieraId,
CSmsMessage &aMessage
)

~CSmsSpecialSMSMessageOperations()

~CSmsSpecialSMSMessageOperations()[inline]

Member Functions Documentation

AddSpecialMessageIndicationL(TBool, TSmsMessageIndicationType, TExtendedSmsIndicationType, TSmsMessageProfileType, TUint8)

IMPORT_C voidAddSpecialMessageIndicationL(TBoolaStore,
TSmsMessageIndicationTypeaMessageIndicationType,
TExtendedSmsIndicationTypeaExtendedType,
TSmsMessageProfileTypeaProfile,
TUint8aMessageCount
)const

Either adds a new or updates an existing special message indication information element.

leave
KErrNotSupported If the message version or type does not support this query.
capability
None

Parameters

TBool aStoreIndicates whether or not the message shall be stored.
TSmsMessageIndicationType aMessageIndicationTypeIndicates the basic message type
TExtendedSmsIndicationType aExtendedTypeIndicates the extended message type
TSmsMessageProfileType aProfileIndicates the profile ID of the Multiple Subscriber Profile
TUint8 aMessageCountIndicates the number of messages of the type specified in Octet 1 that are waiting

GetCountOfSpecialMessageIndicationsL()

IMPORT_C TUintGetCountOfSpecialMessageIndicationsL()const

Gets a count of the number of special message indication information elements which are stored inside the user data.

leave
KErrNotSupported If the message version or type does not support this query.
capability
None

GetMessageIndicationIEL(TUint, TBool &, TSmsMessageIndicationType &, TExtendedSmsIndicationType &, TSmsMessageProfileType &, TUint8 &)

IMPORT_C voidGetMessageIndicationIEL(TUintaIndex,
TBool &aStore,
TSmsMessageIndicationType &aMessageIndicationType,
TExtendedSmsIndicationType &aExtendedType,
TSmsMessageProfileType &aProfile,
TUint8 &aMessageCount
)const

Gets the attributes of the Special Message Indication specified by aIndex.

leave
KErrNotSupported If the message version or type does not support this query.
leave
KErrArgument If aIndex is >= GetCountOfSpecialMessageIndications()
capability
None

Parameters

TUint aIndexaIndex is a value less than GetCountOfSpecialMessageIndications().
TBool & aStoreIndicates whether or not the message shall be stored.
TSmsMessageIndicationType & aMessageIndicationTypeIndicates the basic message type
TExtendedSmsIndicationType & aExtendedTypeIndicates the extended message type
TSmsMessageProfileType & aProfileIndicates the profile ID of the Multiple Subscriber Profile
TUint8 & aMessageCountIndicates the number of messages of the type specified in Octet 1 that are waiting

RemoveAllSpecialMessageIndicationsL()

IMPORT_C voidRemoveAllSpecialMessageIndicationsL()const

Removes all Special Message Indications Information Elements contained in the message.

leave
KErrNotSupported If the message version or type does not support this query.
capability
None

RemoveSpecialMessageIndicationL(TSmsMessageIndicationType, TExtendedSmsIndicationType)

IMPORT_C voidRemoveSpecialMessageIndicationL(TSmsMessageIndicationTypeaMessageIndicationType,
TExtendedSmsIndicationTypeaExtendedType
)const

Removes the Special Message Indication specified by the input attributes, provided it exists.

leave
KErrNotSupported If the message version or type does not support this query.
capability
None

Parameters

TSmsMessageIndicationType aMessageIndicationTypeIndicates the basic message type
TExtendedSmsIndicationType aExtendedTypeIndicates the extended message type

ValidateOperationL()

voidValidateOperationL()const [protected, virtual]

Identifies whether the message type or version supports this operation

leave
If the message type or version does not support this operation.

operator=(const CSmsSpecialSMSMessageOperations &)

voidoperator=(const CSmsSpecialSMSMessageOperations &)[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

operator==(const CSmsSpecialSMSMessageOperations &)

TBool operator==(const CSmsSpecialSMSMessageOperations &)[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