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 ()
void AddControlInformationElementL ( CSmsInformationElement *)
void AddControlInformationElementL ( TCategory , CSmsInformationElement *)
TSmsEncoding Alternative7bitEncoding ()
void DeleteControlInformationElement ( TCategory , TUint8 )
void ExternalizeL ( 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 ()
void InternalizeL ( RReadStream &, TInt )
CSmsMessageAdditionalAttributes * NewL ()
TUint NumberOfControlInformationElements ( TCategory )
TBool RemoveControlInformationElement ( TInformationElementId , TUint , CSmsInformationElementPtr &)
TBool RemoveNextControlInformationElement ( TCategory , CSmsInformationElementPtr &)
void ResetAttributesL ()
void SetAlternative7bitEncoding ( TSmsEncoding )
void SetIEOperationL ( CSmsIEOperation *)
void SetNonIEOperationL ( CSmsNonIEOperation *)
void SetStatusReportSchemeL ( TSmsStatusReportScheme )
RPointerArray < CSmsPDU > & SmsPDUArray ()
Private Member Functions
CSmsMessageAdditionalAttributes ()
void ConstructL ()
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 *)

void AddControlInformationElementL ( CSmsInformationElement * aIE )

Parameters

CSmsInformationElement * aIE

AddControlInformationElementL(TCategory, CSmsInformationElement *)

void AddControlInformationElementL ( TCategory aCategory,
CSmsInformationElement * aIE
)

Parameters

TCategory aCategory
CSmsInformationElement * aIE

Alternative7bitEncoding()

TSmsEncoding Alternative7bitEncoding ( ) const

Get the current encoding value.

ConstructL()

void ConstructL ( ) [private]

DeleteControlInformationElement(TCategory, TUint8)

void DeleteControlInformationElement ( TCategory aCategory,
TUint8 index
)

Parameters

TCategory aCategory
TUint8 index

ExternalizeL(RWriteStream &, TInt)

void ExternalizeL ( RWriteStream & aStream,
TInt aVersion
) const

Parameters

RWriteStream & aStream
TInt aVersion

Find1stInstanceOfControlInformationElement(TInformationElementId, TUint &)

TBool Find1stInstanceOfControlInformationElement ( TInformationElementId aId,
TUint & index
) const

Parameters

TInformationElementId aId
TUint & index

FindNextInstanceOfControlInformationElement(TInformationElementId, TUint, TUint &)

TBool FindNextInstanceOfControlInformationElement ( TInformationElementId aId,
TUint aStartIndex,
TUint & aIndex
) const

Parameters

TInformationElementId aId
TUint aStartIndex
TUint & aIndex

GetControlInformationElementL(TInformationElementId, TUint)

CSmsInformationElement & GetControlInformationElementL ( TInformationElementId aId,
TUint aIndex
) const

Parameters

TInformationElementId aId
TUint aIndex

GetControlInformationElementL(TCategory, TUint)

CSmsInformationElement & GetControlInformationElementL ( TCategory aCategory,
TUint aIndex
) const

Parameters

TCategory aCategory
TUint aIndex

GetIEOperationL(TInformationElementId)

CSmsIEOperation & GetIEOperationL ( TInformationElementId aId ) const

GetNonIEOperationL(TSmsNonIEIdentifier)

CSmsNonIEOperation & GetNonIEOperationL ( TSmsNonIEIdentifier aId ) 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 aId The 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)

void InternalizeL ( RReadStream & aStream,
TInt aVersion
)

Parameters

RReadStream & aStream
TInt aVersion

NewL()

CSmsMessageAdditionalAttributes * NewL ( ) [static]

NumberOfControlInformationElements(TCategory)

TUint NumberOfControlInformationElements ( TCategory aCategory ) const

Parameters

TCategory aCategory

RemoveControlInformationElement(TInformationElementId, TUint, CSmsInformationElementPtr &)

TBool RemoveControlInformationElement ( TInformationElementId aId,
TUint aIndex,
CSmsInformationElementPtr & aIE
)

RemoveNextControlInformationElement(TCategory, CSmsInformationElementPtr &)

TBool RemoveNextControlInformationElement ( TCategory aCategory,
CSmsInformationElementPtr & aIE
)

Parameters

TCategory aCategory
CSmsInformationElementPtr & aIE

ResetAttributesL()

void ResetAttributesL ( )

SetAlternative7bitEncoding(TSmsEncoding)

void SetAlternative7bitEncoding ( TSmsEncoding aEncoding )

Set the encoding value.

Parameters

TSmsEncoding aEncoding Encoding value.

SetIEOperationL(CSmsIEOperation *)

void SetIEOperationL ( CSmsIEOperation * aOperation )

Parameters

CSmsIEOperation * aOperation

SetNonIEOperationL(CSmsNonIEOperation *)

void SetNonIEOperationL ( 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)

void SetStatusReportSchemeL ( TSmsStatusReportScheme aId )

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]