CSmsSpecialSMSMessageOperations Class Reference

#include <gsmuieoperations.h>

class CSmsSpecialSMSMessageOperations : public CSmsCtrlOperation, public CSmsCtrlOperation
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
virtual voidValidateOperationL()
voidoperator=(const CSmsSpecialSMSMessageOperations &)
TBool operator==(const CSmsSpecialSMSMessageOperations &)
Inherited Attributes
CSmsIEOperation::iMessage
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()

Detailed Description

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.

Constructor & Destructor Documentation

CSmsSpecialSMSMessageOperations ( CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage & )

CSmsSpecialSMSMessageOperations(CSmsInformationElement::TSmsInformationElementIdentifieraId,
CSmsMessage &aMessage
)

~CSmsSpecialSMSMessageOperations ( )

~CSmsSpecialSMSMessageOperations()[inline]

Member Function 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.

Parameters
aStoreIndicates whether or not the message shall be stored.
aMessageIndicationTypeIndicates the basic message type
aExtendedTypeIndicates the extended message type
aProfileIndicates the profile ID of the Multiple Subscriber Profile
aMessageCountIndicates the number of messages of the type specified in Octet 1 that are waiting
Leave Codes
KErrNotSupportedIf the message version or type does not support this query.
Capability
None

GetCountOfSpecialMessageIndicationsL ( )

IMPORT_C TUintGetCountOfSpecialMessageIndicationsL()const

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

Return Value
The number of special message indication information elements which are stored inside the user data.
Leave Codes
KErrNotSupportedIf 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.

Parameters
aIndexaIndex is a value less than GetCountOfSpecialMessageIndications().
aStoreIndicates whether or not the message shall be stored.
aMessageIndicationTypeIndicates the basic message type
aExtendedTypeIndicates the extended message type
aProfileIndicates the profile ID of the Multiple Subscriber Profile
aMessageCountIndicates the number of messages of the type specified in Octet 1 that are waiting
Leave Codes
KErrNotSupportedIf the message version or type does not support this query.
KErrArgumentIf aIndex is >= GetCountOfSpecialMessageIndications()
Capability
None

RemoveAllSpecialMessageIndicationsL ( )

IMPORT_C voidRemoveAllSpecialMessageIndicationsL()const

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

Leave Codes
KErrNotSupportedIf 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.

Parameters
aMessageIndicationTypeIndicates the basic message type
aExtendedTypeIndicates the extended message type
Leave Codes
KErrNotSupportedIf the message version or type does not support this query.
Capability
None

ValidateOperationL ( )

voidValidateOperationL()const [protected, virtual]

Identifies whether the message type or version supports this operation

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

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