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 ( TSmsNonIEIdentifier aId,
CSmsMessage & aMessage
)

constructor

Parameters

TSmsNonIEIdentifier aId
CSmsMessage & aMessage

Member Functions Documentation

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Externalises all object data.

capability
None

Parameters

RWriteStream & aStream Stream to write to

GetIncompleteMessageInfoL(TInt &, TInt &, TBool &)

IMPORT_C void GetIncompleteMessageInfoL ( 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 & aStartPos Starting PDU position of decoded message.
TInt & aEndPos End PDU position of decoded message.
TBool & aIsLastIncompleteMessage

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream )

Internalises all object data.

capability
None

Parameters

RReadStream & aStream Stream to read from

MessageTypeSupported()

TBool MessageTypeSupported ( ) const [protected, virtual]

Identifies which message type is supported

SetIncompleteMessageInfoL(TInt, TInt, TBool)

IMPORT_C void SetIncompleteMessageInfoL ( TInt aStartPos,
TInt aEndPos,
TBool aIsLastIncompleteMessage
)

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

capability
None

Parameters

TInt aStartPos Starting PDU position of decoded message.
TInt aEndPos End PDU position of decoded message.
TBool aIsLastIncompleteMessage

SetVersion(TInt)

void SetVersion ( TInt aVersion )

Validates and sets the message version number.

capability
None

Parameters

TInt aVersion version number to set.

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.

Version()

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

operator=(const CIncompleteClass0MessageInfo &)

void operator= ( 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

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

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