CSmsEnhancedVoiceMailOperations Class Reference

class CSmsEnhancedVoiceMailOperations : public CSmsCtrlOperation

Clients use this class to configure a CSmsMessage with either an Enhanced Voice Mail Notification or a Enhanced Voice Mail Delete Confirmation per 23.040 v6.5.0 section 9.2.3.24.13.

Clients should be aware that 23.040 v6.5.0 specifies that this information element must fit into the user data field of a single PDU. The amount of space available in the user data field depends on both the number and size of the mandatory information elements that must also be present. Intuitively the largest Enhanced Voice Mail information element can be added when no mandatory information elements need to be encoded in the PDU. To achieve this, the CSmsMessage must be configured with only the Enhanced Voice Mail Information Element and no other information elements or text.

Inherits from

Public Member Functions
CSmsEnhancedVoiceMailOperations ( CSmsInformationElement::TSmsInformationElementIdentifier , CSmsMessage &, CCnvCharacterSetConverter &, RFs &)
~CSmsEnhancedVoiceMailOperations ()
IMPORT_C void AddEnhancedVoiceMailIEL (const CEnhancedVoiceMailBoxInformation &)
IMPORT_C TBool ContainsEnhancedVoiceMailIEL ()
IMPORT_C CEnhancedVoiceMailBoxInformation * CopyEnhancedVoiceMailIEL ()
IMPORT_C CEnhancedVoiceMailBoxInformation * RemoveEnhancedVoiceMailIEL ()
Protected Member Functions
CEnhancedVoiceMailBoxInformation * GetEnhancedVoiceMailIEL ( TBool )
void ValidateOperationL ()
void operator= (const CSmsEnhancedVoiceMailOperations &)
TBool operator== (const CSmsEnhancedVoiceMailOperations &)
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()
Protected Attributes
CCnvCharacterSetConverter & iCharacterSetConverter
RFs & iFs
Inherited Attributes
CSmsIEOperation::iMessage

Constructor & Destructor Documentation

CSmsEnhancedVoiceMailOperations(CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &, CCnvCharacterSetConverter &, RFs &)

CSmsEnhancedVoiceMailOperations ( CSmsInformationElement::TSmsInformationElementIdentifier aId,
CSmsMessage & aMessage,
CCnvCharacterSetConverter & aCharacterSetConverter,
RFs & aFs
)

Status Reporting.

Note:

This should be the last thing that should be configured in CSmsMessage . If anything is changed after this then the number of PDUs might change which will affect status reporting.

~CSmsEnhancedVoiceMailOperations()

~CSmsEnhancedVoiceMailOperations ( ) [inline]

Member Functions Documentation

AddEnhancedVoiceMailIEL(const CEnhancedVoiceMailBoxInformation &)

IMPORT_C void AddEnhancedVoiceMailIEL ( const CEnhancedVoiceMailBoxInformation & aEVMI ) const
Adds an Enhanced Voice Mail Information Element to the CSmsMessage . The information element can be either an Enhanced Voice Mail Notification or an Enhanced Voice Mail Delete Confirmation. Enhanced Voice Mail Notifications and Enhanced Voice Mail Delete Confirmations are abstracted in classes derived from CEnhancedVoiceMailBoxInformation .
leave
KErrNotSupported If the message version or type does not support this query.
leave
KErrAlreadyExists If an Enhanced Voice Mail Information Element has already been installed.
leave
KErrArgument If the input parameter contains invalid parameters.
capability
None

Parameters

const CEnhancedVoiceMailBoxInformation & aEVMI A pointer to the Enhanced Voice Mail Information Element.

ContainsEnhancedVoiceMailIEL()

IMPORT_C TBool ContainsEnhancedVoiceMailIEL ( ) const
Determines whether the CSmsMessage contains an Enhanced Voice Mail Information Element.
leave
KErrNotSupported If the message version or type does not support this query.
capability
None

CopyEnhancedVoiceMailIEL()

IMPORT_C CEnhancedVoiceMailBoxInformation * CopyEnhancedVoiceMailIEL ( ) const
Copies the Enhanced Voice Mail Information Element contained in the CSmsMessage , provided one exists.
leave
KErrNotSupported If the message version or type does not support this query.
leave
KErrNotFound If the CSmsMessage does not contain an Enhanced Voice Mail Information Element to copy.
capability
None

GetEnhancedVoiceMailIEL(TBool)

CEnhancedVoiceMailBoxInformation * GetEnhancedVoiceMailIEL ( TBool aRemove ) const [protected]
Returns a copy of the Enhanced Voice Mail Information Element contained in the CSmsMessage , provided one exists. Optionally deletes the information element.
leave
KErrNotFound If the CSmsMessage does not contain an Enhanced Voice Mail Information Element to copy.

Parameters

TBool aRemove Indicates that the information element should be deleted once its contents have been copied.

RemoveEnhancedVoiceMailIEL()

IMPORT_C CEnhancedVoiceMailBoxInformation * RemoveEnhancedVoiceMailIEL ( ) const
Removes the Enhanced Voice Mail Information Element from the CSmsMessage , provided it exists.
leave
KErrNotSupported If the message version or type does not support this query.
leave
KErrNotFound If the CSmsMessage does not contain an Enhanced Voice Mail Information Element
capability
None

ValidateOperationL()

void ValidateOperationL ( ) 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 CSmsEnhancedVoiceMailOperations &)

void operator= ( const CSmsEnhancedVoiceMailOperations & ) [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 CSmsEnhancedVoiceMailOperations &)

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

Member Data Documentation

CCnvCharacterSetConverter & iCharacterSetConverter

CCnvCharacterSetConverter & iCharacterSetConverter [protected]

RFs & iFs

RFs & iFs [protected]