CSmsReplyAddressOperations Class Reference
#include
"gsmuieoperations.h"
class CSmsReplyAddressOperations : public CSmsCtrlOperation |
Inherits from
- CSmsReplyAddressOperations
Detailed Description
Clients use this class to configure a CSmsMessage with a reply address per 23.040 v6.5.0 section 9.2.3.24.10.1.17.
Member Attribute Documentation
Constructor & Destructor Documentation
CSmsReplyAddressOperations ( CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &, CCnvCharacterSetConverter &, RFs & )
~CSmsReplyAddressOperations ( )
~CSmsReplyAddressOperations | ( | ) | [inline] |
Member Function Documentation
AddParsedReplyAddressL ( const TGsmSmsTelNumber & )
IMPORT_C void | AddParsedReplyAddressL | ( | const TGsmSmsTelNumber & | aParsedAddress | ) | const |
Adds a reply address information element.
-
leave
- KErrNotSupported If the message version or type does not support a reply addresses.
-
leave
- KErrAlreadyExists If the message already contains a reply address.
-
capability
- None
AddReplyAddressL ( const TDesC & )
IMPORT_C void | AddReplyAddressL | ( | const TDesC & | aAddress | ) | const |
Adds a reply address information element.
-
leave
- KErrNotSupported If the message version or type does not support a reply addresses.
-
leave
- KErrAlreadyExists If the message already contains a reply address.
-
capability
- None
Parameter | Description | aAddress | The international number to be used in the reply address. |
ContainsReplyAddressIEL ( )
IMPORT_C TBool | ContainsReplyAddressIEL | ( | ) | const |
Identifies whether a reply address has already been added to this CSmsMessage using the CSmsReplyAddressOperations interface.
-
leave
- KErrNotSupported If the message version or type does not support this query.
-
capability
- None
Returns: True if the reply address has already been added using this interface.
GetParsedReplyAddressL ( TGsmSmsTelNumber & )
Returns the reply address in ETSI format.
-
leave
- KErrNotSupported If the message version or type does not support this query.
-
leave
- KErrCorrupt If the reply address is corrupt
-
capability
- None
Returns: True, if the CSmsMessage contains a reply address. False, otherwise
GetReplyAddressL ( )
IMPORT_C HBufC * | GetReplyAddressL | ( | ) | const |
Returns the reply address as an international number
-
leave
- KErrNotSupported If the message version or type does not support this query.
-
leave
- KErrNotFound If the message does not contain a reply address information element.
-
leave
- KErrCorrupt If the reply address is corrupt
-
capability
- None
Returns: The reply address as an international number.
NewL ( CSmsInformationElement::TSmsInformationElementIdentifier, CSmsMessage &, CCnvCharacterSetConverter &, RFs & )
Parameter | Description | aId | The ID for the CSmsInformationElement for whom an operation class needs to be created. |
aMessage | The CSmsMessage that this operations class belongs to. |
aCharacterSetConverter | A reference to a character set converter, needed by some derived operation classes. |
aFs | A reference to the file server, needed by some derived operations classes. |
RemoveReplyAddressL ( )
IMPORT_C void | RemoveReplyAddressL | ( | ) | const |
Removes the reply address information element.
-
leave
- KErrNotSupported If the message version or type does not support this query.
-
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 CSmsReplyAddressOperations & )
Prevent clients from using the assignment operator by including it in the class definition but making it protected and not exporting it.
operator== ( const CSmsReplyAddressOperations & )
Prevent clients from using the equality operator by including it in the class definition but making it protected and not exporting it.