CSmsMessageAdditionalAttributes Class Reference

class CSmsMessageAdditionalAttributes : public CBase

CSmsMessageAdditionalAttributes

This class contains additional attributes that would normally be stored in CSmsMessage.

The class contains a collections of control information elements. These elements will either be copied into the working PDU for encoding or have been copied from the working pdu for decoding.

Inherits from

  • CSmsMessageAdditionalAttributes
Public Member Functions
~CSmsMessageAdditionalAttributes()
voidAddControlInformationElementL(CSmsInformationElement *)
voidAddControlInformationElementL(TCategory, CSmsInformationElement *)
TSmsEncoding Alternative7bitEncoding()
voidDeleteControlInformationElement(TCategory, TUint8)
voidExternalizeL(RWriteStream &, TInt)
TBool Find1stInstanceOfControlInformationElement(TInformationElementId, TUint &)
TBool FindNextInstanceOfControlInformationElement(TInformationElementId, TUint, TUint &)
CSmsInformationElement &GetControlInformationElementL(TInformationElementId, TUint)
CSmsInformationElement &GetControlInformationElementL(TCategory, TUint)
CSmsIEOperation &GetIEOperationL(TInformationElementId)
CSmsNonIEOperation &GetNonIEOperationL(TSmsNonIEIdentifier)
CSmsStatusReportScheme &GetStatusReportScheme()
voidInternalizeL(RReadStream &, TInt)
CSmsMessageAdditionalAttributes *NewL()
TUint NumberOfControlInformationElements(TCategory)
TBool RemoveControlInformationElement(TInformationElementId, TUint, CSmsInformationElementPtr &)
TBool RemoveNextControlInformationElement(TCategory, CSmsInformationElementPtr &)
voidResetAttributesL()
voidSetAlternative7bitEncoding(TSmsEncoding)
voidSetIEOperationL(CSmsIEOperation *)
voidSetNonIEOperationL(CSmsNonIEOperation *)
voidSetStatusReportSchemeL(TSmsStatusReportScheme)
RPointerArray< CSmsPDU > &SmsPDUArray()
Private Member Functions
CSmsMessageAdditionalAttributes()
voidConstructL()
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 Type Definitions
typedef CSmsInformationElement * CSmsInformationElementPtr
typedef TSmsInformationElementCategories::TInformationElementCategory TCategory
typedef CSmsInformationElement::TSmsInformationElementIdentifier TInformationElementId
Private Member Type Definitions
typedef CArrayPtrFlat< CSmsInformationElement > CArrayOfPointersToControlInformationElements
Private Attributes
TSmsEncoding iAlternative7bitEncoding
CArrayOfPointersToControlInformationElements *iCollectionOfPointersToIEArrays
CSmsEnhancedVoiceMailOperations *iEnhancedVoiceMailOperations
CSmsHyperLinkOperations *iHyperLinkOperations
CIncompleteClass0MessageInfo *iIncompleteClass0MessageInfo
CSmsReplyAddressOperations *iReplyAddressOperations
CSmsSMSCCtrlParameterOperations *iSMSCCtrlParameterOperations
RPointerArray< CSmsPDU >iSmsPDUArray
CSmsSpecialSMSMessageOperations *iSpecialSMSMessageOperations
CSmsStatusReportScheme *iStatusReportScheme
CSmsTPSRROperations *iTPSRROperations

Constructor & Destructor Documentation

CSmsMessageAdditionalAttributes()

CSmsMessageAdditionalAttributes()[private]

~CSmsMessageAdditionalAttributes()

~CSmsMessageAdditionalAttributes()

Member Functions Documentation

AddControlInformationElementL(CSmsInformationElement *)

voidAddControlInformationElementL(CSmsInformationElement *aIE)

Parameters

CSmsInformationElement * aIE

AddControlInformationElementL(TCategory, CSmsInformationElement *)

voidAddControlInformationElementL(TCategoryaCategory,
CSmsInformationElement *aIE
)

Parameters

TCategory aCategory
CSmsInformationElement * aIE

Alternative7bitEncoding()

TSmsEncoding Alternative7bitEncoding()const

Get the current encoding value.

ConstructL()

voidConstructL()[private]

DeleteControlInformationElement(TCategory, TUint8)

voidDeleteControlInformationElement(TCategoryaCategory,
TUint8index
)

Parameters

TCategory aCategory
TUint8 index

ExternalizeL(RWriteStream &, TInt)

voidExternalizeL(RWriteStream &aStream,
TIntaVersion
)const

Parameters

RWriteStream & aStream
TInt aVersion

Find1stInstanceOfControlInformationElement(TInformationElementId, TUint &)

TBool Find1stInstanceOfControlInformationElement(TInformationElementIdaId,
TUint &index
)const

Parameters

TInformationElementId aId
TUint & index

FindNextInstanceOfControlInformationElement(TInformationElementId, TUint, TUint &)

TBool FindNextInstanceOfControlInformationElement(TInformationElementIdaId,
TUintaStartIndex,
TUint &aIndex
)const

Parameters

TInformationElementId aId
TUint aStartIndex
TUint & aIndex

GetControlInformationElementL(TInformationElementId, TUint)

CSmsInformationElement &GetControlInformationElementL(TInformationElementIdaId,
TUintaIndex
)const

Parameters

TInformationElementId aId
TUint aIndex

GetControlInformationElementL(TCategory, TUint)

CSmsInformationElement &GetControlInformationElementL(TCategoryaCategory,
TUintaIndex
)const

Parameters

TCategory aCategory
TUint aIndex

GetIEOperationL(TInformationElementId)

CSmsIEOperation &GetIEOperationL(TInformationElementIdaId)const

Parameters

TInformationElementId aId

GetNonIEOperationL(TSmsNonIEIdentifier)

CSmsNonIEOperation &GetNonIEOperationL(TSmsNonIEIdentifieraId)const

Gets the operation being used but for a non Information Element Type.

Note:

In the present case it is the TPSRR operation as that's the only one which exists as for now.

Parameters

TSmsNonIEIdentifier aIdThe Identifier for the operation.

GetStatusReportScheme()

CSmsStatusReportScheme &GetStatusReportScheme()const

Gets the pointer to the scheme being used for Status reporting. This is called in operations class and in Segmentation Store.

InternalizeL(RReadStream &, TInt)

voidInternalizeL(RReadStream &aStream,
TIntaVersion
)

Parameters

RReadStream & aStream
TInt aVersion

NewL()

CSmsMessageAdditionalAttributes *NewL()[static]

NumberOfControlInformationElements(TCategory)

TUint NumberOfControlInformationElements(TCategoryaCategory)const

Parameters

TCategory aCategory

RemoveControlInformationElement(TInformationElementId, TUint, CSmsInformationElementPtr &)

TBool RemoveControlInformationElement(TInformationElementIdaId,
TUintaIndex,
CSmsInformationElementPtr &aIE
)

RemoveNextControlInformationElement(TCategory, CSmsInformationElementPtr &)

TBool RemoveNextControlInformationElement(TCategoryaCategory,
CSmsInformationElementPtr &aIE
)

Parameters

TCategory aCategory
CSmsInformationElementPtr & aIE

ResetAttributesL()

voidResetAttributesL()

SetAlternative7bitEncoding(TSmsEncoding)

voidSetAlternative7bitEncoding(TSmsEncodingaEncoding)

Set the encoding value.

Parameters

TSmsEncoding aEncodingEncoding value.

SetIEOperationL(CSmsIEOperation *)

voidSetIEOperationL(CSmsIEOperation *aOperation)

Parameters

CSmsIEOperation * aOperation

SetNonIEOperationL(CSmsNonIEOperation *)

voidSetNonIEOperationL(CSmsNonIEOperation *aOperation)

Sets the operation but for a non Information Element Type.

Note:

In the present case it is the TPSRR operation as that's the only one which exists as for now.

Parameters

CSmsNonIEOperation * aOperation

SetStatusReportSchemeL(TSmsStatusReportScheme)

voidSetStatusReportSchemeL(TSmsStatusReportSchemeaId)

Parameters

TSmsStatusReportScheme aId

SmsPDUArray()

RPointerArray< CSmsPDU > &SmsPDUArray()[inline]

Member Type Definitions Documentation

Typedef CArrayOfPointersToControlInformationElements

typedef CArrayPtrFlat< CSmsInformationElement >CArrayOfPointersToControlInformationElements[private]

Typedef CSmsInformationElementPtr

typedef CSmsInformationElement *CSmsInformationElementPtr

Typedef TInformationElementId

typedef CSmsInformationElement::TSmsInformationElementIdentifier TInformationElementId

Member Data Documentation

TSmsEncoding iAlternative7bitEncoding

TSmsEncoding iAlternative7bitEncoding[private]

CArrayOfPointersToControlInformationElements * iCollectionOfPointersToIEArrays

CArrayOfPointersToControlInformationElements *iCollectionOfPointersToIEArrays[private]

CSmsEnhancedVoiceMailOperations * iEnhancedVoiceMailOperations

CSmsEnhancedVoiceMailOperations *iEnhancedVoiceMailOperations[private]

CSmsHyperLinkOperations * iHyperLinkOperations

CSmsHyperLinkOperations *iHyperLinkOperations[private]

CIncompleteClass0MessageInfo * iIncompleteClass0MessageInfo

CIncompleteClass0MessageInfo *iIncompleteClass0MessageInfo[private]

CSmsReplyAddressOperations * iReplyAddressOperations

CSmsReplyAddressOperations *iReplyAddressOperations[private]

CSmsSMSCCtrlParameterOperations * iSMSCCtrlParameterOperations

CSmsSMSCCtrlParameterOperations *iSMSCCtrlParameterOperations[private]

RPointerArray< CSmsPDU > iSmsPDUArray

RPointerArray< CSmsPDU >iSmsPDUArray[private]

CSmsSpecialSMSMessageOperations * iSpecialSMSMessageOperations

CSmsSpecialSMSMessageOperations *iSpecialSMSMessageOperations[private]

CSmsStatusReportScheme * iStatusReportScheme

CSmsStatusReportScheme *iStatusReportScheme[private]

CSmsTPSRROperations * iTPSRROperations

CSmsTPSRROperations *iTPSRROperations[private]