CIncompleteClass0MessageInfo Class Reference

class CIncompleteClass0MessageInfo : public CSmsNonIEOperation

This class will store the incomplete class 0 message information.

The object of this class will be stored inside CSmsMessageAdditionalAttributes class. This class will provide 2 exported functions which will allow the caller of this class to get/set incomplete class 0 message information.

Inherits from

Constructor & Destructor Documentation

CIncompleteClass0MessageInfo(TSmsNonIEIdentifier, CSmsMessage &)

CIncompleteClass0MessageInfo(TSmsNonIEIdentifieraId,
CSmsMessage &aMessage
)

constructor

Parameters

TSmsNonIEIdentifier aId
CSmsMessage & aMessage

Member Functions Documentation

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Externalises all object data.

capability
None

Parameters

RWriteStream & aStreamStream to write to

GetIncompleteMessageInfoL(TInt &, TInt &, TBool &)

IMPORT_C voidGetIncompleteMessageInfoL(TInt &aStartPos,
TInt &aEndPos,
TBool &aIsLastIncompleteMessage
)

Gets the incomplete message info. This information will indicate the partial complete message consists of which PDUs.

capability
None

Parameters

TInt & aStartPosStarting PDU position of decoded message.
TInt & aEndPosEnd PDU position of decoded message.
TBool & aIsLastIncompleteMessage

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)

Internalises all object data.

capability
None

Parameters

RReadStream & aStreamStream to read from

MessageTypeSupported()

TBool MessageTypeSupported()const [protected, virtual]

Identifies which message type is supported

SetIncompleteMessageInfoL(TInt, TInt, TBool)

IMPORT_C voidSetIncompleteMessageInfoL(TIntaStartPos,
TIntaEndPos,
TBoolaIsLastIncompleteMessage
)

Sets the incomplete message info. This information will indicate the partial complete message consists of which PDUs.

capability
None

Parameters

TInt aStartPosStarting PDU position of decoded message.
TInt aEndPosEnd PDU position of decoded message.
TBool aIsLastIncompleteMessage

SetVersion(TInt)

voidSetVersion(TIntaVersion)

Validates and sets the message version number.

capability
None

Parameters

TInt aVersionversion number to set.

ValidateOperationL()

voidValidateOperationL()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.

Version()

TInt Version()
Returns the incomplete class 0 message version number.
capability

operator=(const CIncompleteClass0MessageInfo &)

voidoperator=(const CIncompleteClass0MessageInfo &)[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

Parameters

const CIncompleteClass0MessageInfo &

operator==(const CIncompleteClass0MessageInfo &)

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

Parameters

const CIncompleteClass0MessageInfo &

Member Enumerations Documentation

Enum TSmsIncompleteClass0MessageVersion

Incomplete Class 0 Message versions

Enumerators

ESmsIncompleteClass0MessageV0

The default value.

EMaxSmsIncompleteClass0MessageV

Member Data Documentation

TInt iEndPos

TInt iEndPos[private]

TBool iIsLastIncompleteMessage

TBool iIsLastIncompleteMessage[private]

TInt iStartPos

TInt iStartPos[private]

TInt iVersion

TInt iVersion[private]

iVersion is the version of CIncompleteClass0MessageInfo. This parameter will be used to identify what iAdditionalInfo points to for that particular version of CIncompleteClass0MessageInfo