CSmsInformationElement Class Reference

class CSmsInformationElement : public CBase

SMS element defined in TP-UD octet.

This element is found in Deliver, Deliver Report, Submit, Submit Report, Status Report and Command type messages.

Inherits from

Public Member Functions
~CSmsInformationElement ()
void ConstructL (const TDesC8 &)
IMPORT_C TPtr8 Data ()
IMPORT_C const TDesC8 & Data ()
void DecodeL ( TGsmuLex8 &)
TUint8 * EncodeL ( TUint8 *)
void ExternalizeL ( RWriteStream &)
IMPORT_C TSmsInformationElementIdentifier Identifier ()
void InternalizeL ( RReadStream &)
TUint Length ()
CSmsInformationElement * NewL ( TSmsInformationElementIdentifier , const TDesC8 &)
CSmsInformationElement * NewL ()
Protected Member Functions
CSmsInformationElement ( TSmsInformationElementIdentifier )
void NewDataL ( TInt )
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()
Public Member Enumerations
enum TSmsInformationElementIdentifier {
ESmsIEIConcatenatedShortMessages8BitReference  = 0x00, ESmsIEISpecialSMSMessageIndication  = 0x01, ESmsIEIReserved  = 0x02, ESmsIEIValueNotUsed  = 0x03, ESmsIEIApplicationPortAddressing8Bit  = 0x04, ESmsIEIApplicationPortAddressing16Bit  = 0x05, ESmsIEISMSCControlParameters  = 0x06, ESmsIEIUDHSourceIndicator  = 0x07, ESmsIEIConcatenatedShortMessages16BitReference  = 0x08, ESmsIEIWirelessControlMessageProtocol  = 0x09, ESmsIEIRFC822EmailHeader  = 0x20, ESmsEnhancedTextFormatting  = 0x0A, ESmsEnhancedPredefinedSound  = 0x0B, ESmsEnhancedUserDefinedSound  = 0x0C, ESmsEnhancedPredefinedAnimation  = 0x0D, ESmsEnhancedLargeAnimation  = 0x0E, ESmsEnhancedSmallAnimation  = 0x0F, ESmsEnhancedLargePicture  = 0x10, ESmsEnhancedSmallPicture  = 0x11, ESmsEnhancedVariablePicture  = 0x12, ESmsEnhancedUserPromptIndicator  = 0x13, ESmsEnhancedExtendedObject  = 0x14, ESmsEnhancedReusedExtendedObject  = 0x15, ESmsEnhancedCompressionControl  = 0x16, ESmsEnhancedODI  = 0x17, ESmsEnhancedStandardWVG  = 0x18, ESmsEnhancedCharacterSizeWVG  = 0x19, ESmsEnhancedextendedObjectDataRequest  = 0x1A, ESmsHyperLinkFormat  = 0x21, ESmsReplyAddressFormat  = 0x22, ESmsEnhanceVoiceMailInformation  = 0x23, ESmsNationalLanguageSingleShift  = 0x24, ESmsNationalLanguageLockingShift  = 0x25, ESmsIEISIMToolkitSecurityHeaders1  = 0x70, ESmsIEISIMToolkitSecurityHeaders2  = 0x71, ESmsIEISIMToolkitSecurityHeaders3  = 0x72, ESmsIEISIMToolkitSecurityHeaders4  = 0x73, ESmsIEISIMToolkitSecurityHeaders5  = 0x74, ESmsIEISIMToolkitSecurityHeaders6  = 0x75, ESmsIEISIMToolkitSecurityHeaders7  = 0x76, ESmsIEISIMToolkitSecurityHeaders8  = 0x77, ESmsIEISIMToolkitSecurityHeaders9  = 0x78, ESmsIEISIMToolkitSecurityHeaders10  = 0x79, ESmsIEISIMToolkitSecurityHeaders11  = 0x7A, ESmsIEISIMToolkitSecurityHeaders12  = 0x7B, ESmsIEISIMToolkitSecurityHeaders13  = 0x7C, ESmsIEISIMToolkitSecurityHeaders14  = 0x7D, ESmsIEISIMToolkitSecurityHeaders15  = 0x7E, ESmsIEISIMToolkitSecurityHeaders16  = 0x7F, ESmsIEISMEToSMESpecificUse1  = 0x80, ESmsIEISMEToSMESpecificUse2  = 0x81, ESmsIEISMEToSMESpecificUse3  = 0x82, ESmsIEISMEToSMESpecificUse4  = 0x83, ESmsIEISMEToSMESpecificUse5  = 0x84, ESmsIEISMEToSMESpecificUse6  = 0x85, ESmsIEISMEToSMESpecificUse7  = 0x86, ESmsIEISMEToSMESpecificUse8  = 0x87, ESmsIEISMEToSMESpecificUse9  = 0x88, ESmsIEISMEToSMESpecificUse10  = 0x89, ESmsIEISMEToSMESpecificUse11  = 0x8A, ESmsIEISMEToSMESpecificUse12  = 0x8B, ESmsIEISMEToSMESpecificUse13  = 0x8C, ESmsIEISMEToSMESpecificUse14  = 0x8D, ESmsIEISMEToSMESpecificUse15  = 0x8E, ESmsIEISMEToSMESpecificUse16  = 0x8F, ESmsIEISMEToSMESpecificUse17  = 0x90, ESmsIEISMEToSMESpecificUse18  = 0x91, ESmsIEISMEToSMESpecificUse19  = 0x92, ESmsIEISMEToSMESpecificUse20  = 0x93, ESmsIEISMEToSMESpecificUse21  = 0x94, ESmsIEISMEToSMESpecificUse22  = 0x95, ESmsIEISMEToSMESpecificUse23  = 0x96, ESmsIEISMEToSMESpecificUse24  = 0x97, ESmsIEISMEToSMESpecificUse25  = 0x98, ESmsIEISMEToSMESpecificUse26  = 0x99, ESmsIEISMEToSMESpecificUse27  = 0x9A, ESmsIEISMEToSMESpecificUse28  = 0x9B, ESmsIEISMEToSMESpecificUse29  = 0x9C, ESmsIEISMEToSMESpecificUse30  = 0x9D, ESmsIEISMEToSMESpecificUse31  = 0x9E, ESmsIEISMEToSMESpecificUse32  = 0x9F, ESmsIEISCSpecificUse1  = 0xC0, ESmsIEISCSpecificUse2  = 0xC1, ESmsIEISCSpecificUse3  = 0xC2, ESmsIEISCSpecificUse4  = 0xC3, ESmsIEISCSpecificUse5  = 0xC4, ESmsIEISCSpecificUse6  = 0xC5, ESmsIEISCSpecificUse7  = 0xC6, ESmsIEISCSpecificUse8  = 0xC7, ESmsIEISCSpecificUse9  = 0xC8, ESmsIEISCSpecificUse10  = 0xC9, ESmsIEISCSpecificUse11  = 0xCA, ESmsIEISCSpecificUse12  = 0xCB, ESmsIEISCSpecificUse13  = 0xCC, ESmsIEISCSpecificUse14  = 0xCD, ESmsIEISCSpecificUse15  = 0xCE, ESmsIEISCSpecificUse16  = 0xCF, ESmsIEISCSpecificUse17  = 0xD0, ESmsIEISCSpecificUse18  = 0xD1, ESmsIEISCSpecificUse19  = 0xD2, ESmsIEISCSpecificUse20  = 0xD3, ESmsIEISCSpecificUse21  = 0xD4, ESmsIEISCSpecificUse22  = 0xD5, ESmsIEISCSpecificUse23  = 0xD6, ESmsIEISCSpecificUse24  = 0xD7, ESmsIEISCSpecificUse25  = 0xD8, ESmsIEISCSpecificUse26  = 0xD9, ESmsIEISCSpecificUse27  = 0xDA, ESmsIEISCSpecificUse28  = 0xDB, ESmsIEISCSpecificUse29  = 0xDC, ESmsIEISCSpecificUse30  = 0xDD, ESmsIEISCSpecificUse31  = 0xDE, ESmsIEISCSpecificUse32  = 0xDF, ESmsIEMaximum  = 0xFF
}
Protected Attributes
HBufC8 * iData
TSmsOctet iIdentifier

Constructor & Destructor Documentation

CSmsInformationElement(TSmsInformationElementIdentifier)

CSmsInformationElement ( TSmsInformationElementIdentifier aInformationElementIdentifier ) [protected, inline]

Parameters

TSmsInformationElementIdentifier aInformationElementIdentifier

~CSmsInformationElement()

~CSmsInformationElement ( )

Member Functions Documentation

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aData )

Parameters

const TDesC8 & aData

Data()

IMPORT_C TPtr8 Data ( )

Data()

IMPORT_C const TDesC8 & Data ( ) const

DecodeL(TGsmuLex8 &)

void DecodeL ( TGsmuLex8 & aPdu )

Parameters

TGsmuLex8 & aPdu

EncodeL(TUint8 *)

TUint8 * EncodeL ( TUint8 * aPtr ) const

Parameters

TUint8 * aPtr

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

Identifier()

IMPORT_C TSmsInformationElementIdentifier Identifier ( ) const

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream )

Parameters

RReadStream & aStream

Length()

TUint Length ( ) const

NewDataL(TInt)

void NewDataL ( TInt aLength ) [protected]

Parameters

TInt aLength

NewL(TSmsInformationElementIdentifier, const TDesC8 &)

CSmsInformationElement * NewL ( TSmsInformationElementIdentifier aIdentifier,
const TDesC8 & aData
) [static]

Parameters

TSmsInformationElementIdentifier aIdentifier
const TDesC8 & aData

NewL()

CSmsInformationElement * NewL ( ) [static]

Member Enumerations Documentation

Enum TSmsInformationElementIdentifier

TP-UD Information Element Identifier.

Enumerators

ESmsIEIConcatenatedShortMessages8BitReference = 0x00

Concatenated short messages, 8-bit reference number.

ESmsIEISpecialSMSMessageIndication = 0x01

Special SMS Message Indication.

ESmsIEIReserved = 0x02

Reserved.

ESmsIEIValueNotUsed = 0x03

Value not used to avoid misinterpretation as line feed character.

ESmsIEIApplicationPortAddressing8Bit = 0x04

Application port addressing scheme, 8 bit address.

ESmsIEIApplicationPortAddressing16Bit = 0x05

Application port addressing scheme, 16 bit address

ESmsIEISMSCControlParameters = 0x06

SMSC Control Parameters.

ESmsIEIUDHSourceIndicator = 0x07

UDH Source Indicator.

ESmsIEIConcatenatedShortMessages16BitReference = 0x08

Concatenated short message, 16-bit reference number.

ESmsIEIWirelessControlMessageProtocol = 0x09

Wireless Control Message Protocol.

ESmsIEIRFC822EmailHeader = 0x20
ESmsEnhancedTextFormatting = 0x0A
ESmsEnhancedPredefinedSound = 0x0B
ESmsEnhancedUserDefinedSound = 0x0C
ESmsEnhancedPredefinedAnimation = 0x0D
ESmsEnhancedLargeAnimation = 0x0E
ESmsEnhancedSmallAnimation = 0x0F
ESmsEnhancedLargePicture = 0x10
ESmsEnhancedSmallPicture = 0x11
ESmsEnhancedVariablePicture = 0x12
ESmsEnhancedUserPromptIndicator = 0x13
ESmsEnhancedExtendedObject = 0x14
ESmsEnhancedReusedExtendedObject = 0x15
ESmsEnhancedCompressionControl = 0x16
ESmsEnhancedODI = 0x17
ESmsEnhancedStandardWVG = 0x18
ESmsEnhancedCharacterSizeWVG = 0x19
ESmsEnhancedextendedObjectDataRequest = 0x1A
ESmsHyperLinkFormat = 0x21
ESmsReplyAddressFormat = 0x22
ESmsEnhanceVoiceMailInformation = 0x23
ESmsNationalLanguageSingleShift = 0x24
ESmsNationalLanguageLockingShift = 0x25
ESmsIEISIMToolkitSecurityHeaders1 = 0x70

SIM Toolkit Security Header 1.

ESmsIEISIMToolkitSecurityHeaders2 = 0x71

SIM Toolkit Security Header 2.

ESmsIEISIMToolkitSecurityHeaders3 = 0x72

SIM Toolkit Security Header 3.

ESmsIEISIMToolkitSecurityHeaders4 = 0x73

SIM Toolkit Security Header 4.

ESmsIEISIMToolkitSecurityHeaders5 = 0x74

SIM Toolkit Security Header 5.

ESmsIEISIMToolkitSecurityHeaders6 = 0x75

SIM Toolkit Security Header 6.

ESmsIEISIMToolkitSecurityHeaders7 = 0x76

SIM Toolkit Security Header 7.

ESmsIEISIMToolkitSecurityHeaders8 = 0x77

SIM Toolkit Security Header 8.

ESmsIEISIMToolkitSecurityHeaders9 = 0x78

SIM Toolkit Security Header 9.

ESmsIEISIMToolkitSecurityHeaders10 = 0x79

SIM Toolkit Security Header 10.

ESmsIEISIMToolkitSecurityHeaders11 = 0x7A

SIM Toolkit Security Header 11.

ESmsIEISIMToolkitSecurityHeaders12 = 0x7B

SIM Toolkit Security Header 12.

ESmsIEISIMToolkitSecurityHeaders13 = 0x7C

SIM Toolkit Security Header 13.

ESmsIEISIMToolkitSecurityHeaders14 = 0x7D

SIM Toolkit Security Header 14.

ESmsIEISIMToolkitSecurityHeaders15 = 0x7E

SIM Toolkit Security Header 15.

ESmsIEISIMToolkitSecurityHeaders16 = 0x7F

SIM Toolkit Security Header 16.

ESmsIEISMEToSMESpecificUse1 = 0x80

SME to SME specific use 1.

ESmsIEISMEToSMESpecificUse2 = 0x81

SME to SME specific use 2.

ESmsIEISMEToSMESpecificUse3 = 0x82

SME to SME specific use 3.

ESmsIEISMEToSMESpecificUse4 = 0x83

SME to SME specific use 4.

ESmsIEISMEToSMESpecificUse5 = 0x84

SME to SME specific use 5.

ESmsIEISMEToSMESpecificUse6 = 0x85

SME to SME specific use 6.

ESmsIEISMEToSMESpecificUse7 = 0x86

SME to SME specific use 7.

ESmsIEISMEToSMESpecificUse8 = 0x87

SME to SME specific use 8.

ESmsIEISMEToSMESpecificUse9 = 0x88

SME to SME specific use 9.

ESmsIEISMEToSMESpecificUse10 = 0x89

SME to SME specific use 10.

ESmsIEISMEToSMESpecificUse11 = 0x8A

SME to SME specific use 11.

ESmsIEISMEToSMESpecificUse12 = 0x8B

SME to SME specific use 12.

ESmsIEISMEToSMESpecificUse13 = 0x8C

SME to SME specific use 13.

ESmsIEISMEToSMESpecificUse14 = 0x8D

SME to SME specific use 14.

ESmsIEISMEToSMESpecificUse15 = 0x8E

SME to SME specific use 15.

ESmsIEISMEToSMESpecificUse16 = 0x8F

SME to SME specific use 16.

ESmsIEISMEToSMESpecificUse17 = 0x90

SME to SME specific use 17.

ESmsIEISMEToSMESpecificUse18 = 0x91

SME to SME specific use 18.

ESmsIEISMEToSMESpecificUse19 = 0x92

SME to SME specific use 19.

ESmsIEISMEToSMESpecificUse20 = 0x93

SME to SME specific use 20.

ESmsIEISMEToSMESpecificUse21 = 0x94

SME to SME specific use 21.

ESmsIEISMEToSMESpecificUse22 = 0x95

SME to SME specific use 22.

ESmsIEISMEToSMESpecificUse23 = 0x96

SME to SME specific use 23.

ESmsIEISMEToSMESpecificUse24 = 0x97

SME to SME specific use 24.

ESmsIEISMEToSMESpecificUse25 = 0x98

SME to SME specific use 25.

ESmsIEISMEToSMESpecificUse26 = 0x99

SME to SME specific use 26.

ESmsIEISMEToSMESpecificUse27 = 0x9A

SME to SME specific use 27.

ESmsIEISMEToSMESpecificUse28 = 0x9B

SME to SME specific use 28.

ESmsIEISMEToSMESpecificUse29 = 0x9C

SME to SME specific use 29.

ESmsIEISMEToSMESpecificUse30 = 0x9D

SME to SME specific use 30.

ESmsIEISMEToSMESpecificUse31 = 0x9E

SME to SME specific use 31.

ESmsIEISMEToSMESpecificUse32 = 0x9F

SME to SME specific use 32.

ESmsIEISCSpecificUse1 = 0xC0

SC specific use 1.

ESmsIEISCSpecificUse2 = 0xC1

SC specific use 2.

ESmsIEISCSpecificUse3 = 0xC2

SC specific use 3.

ESmsIEISCSpecificUse4 = 0xC3

SC specific use 4.

ESmsIEISCSpecificUse5 = 0xC4

SC specific use 5.

ESmsIEISCSpecificUse6 = 0xC5

SC specific use 6.

ESmsIEISCSpecificUse7 = 0xC6

SC specific use 7.

ESmsIEISCSpecificUse8 = 0xC7

SC specific use 8.

ESmsIEISCSpecificUse9 = 0xC8

SC specific use 9.

ESmsIEISCSpecificUse10 = 0xC9

SC specific use 10.

ESmsIEISCSpecificUse11 = 0xCA

SC specific use 11.

ESmsIEISCSpecificUse12 = 0xCB

SC specific use 12.

ESmsIEISCSpecificUse13 = 0xCC

SC specific use 13.

ESmsIEISCSpecificUse14 = 0xCD

SC specific use 14.

ESmsIEISCSpecificUse15 = 0xCE

SC specific use 15.

ESmsIEISCSpecificUse16 = 0xCF

SC specific use 16.

ESmsIEISCSpecificUse17 = 0xD0

SC specific use 17.

ESmsIEISCSpecificUse18 = 0xD1

SC specific use 18.

ESmsIEISCSpecificUse19 = 0xD2

SC specific use 19.

ESmsIEISCSpecificUse20 = 0xD3

SC specific use 20.

ESmsIEISCSpecificUse21 = 0xD4

SC specific use 21.

ESmsIEISCSpecificUse22 = 0xD5

SC specific use 22.

ESmsIEISCSpecificUse23 = 0xD6

SC specific use 23.

ESmsIEISCSpecificUse24 = 0xD7

SC specific use 24.

ESmsIEISCSpecificUse25 = 0xD8

SC specific use 25.

ESmsIEISCSpecificUse26 = 0xD9

SC specific use 26.

ESmsIEISCSpecificUse27 = 0xDA

SC specific use 27.

ESmsIEISCSpecificUse28 = 0xDB

SC specific use 28.

ESmsIEISCSpecificUse29 = 0xDC

SC specific use 29.

ESmsIEISCSpecificUse30 = 0xDD

SC specific use 30.

ESmsIEISCSpecificUse31 = 0xDE

SC specific use 31.

ESmsIEISCSpecificUse32 = 0xDF

SC specific use 32.

ESmsIEMaximum = 0xFF

Member Data Documentation

HBufC8 * iData

HBufC8 * iData [protected]

TSmsOctet iIdentifier

TSmsOctet iIdentifier [protected]