CIncompleteClass0MessageInfo Class Reference

#include <gsmunonieoperations.h>

class CIncompleteClass0MessageInfo : public CSmsNonIEOperation, public CSmsNonIEOperation

Inherits from

Detailed Description

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.

Member Enumeration Documentation

Enum TSmsIncompleteClass0MessageVersion

Incomplete Class 0 Message versions

EnumeratorValueDescription
ESmsIncompleteClass0MessageV0

The default value.

EMaxSmsIncompleteClass0MessageV

Constructor & Destructor Documentation

CIncompleteClass0MessageInfo ( TSmsNonIEIdentifier, CSmsMessage & )

CIncompleteClass0MessageInfo(TSmsNonIEIdentifieraId,
CSmsMessage &aMessage
)

constructor

Member Function Documentation

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const

Externalises all object data.

Parameters
aStreamStream to write to
Capability
None

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.

Parameters
aStartPosStarting PDU position of decoded message.
aEndPosEnd PDU position of decoded message.
Capability
None

InternalizeL ( RReadStream & )

voidInternalizeL(RReadStream &aStream)

Internalises all object data.

Parameters
aStreamStream to read from
Capability
None

MessageTypeSupported ( )

TBool MessageTypeSupported()const [protected, virtual]

Identifies which message type is supported

Return Value
True if the message type is supported. False otherwise.

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.

Parameters
aStartPosStarting PDU position of decoded message.
aEndPosEnd PDU position of decoded message.
Capability
None

SetVersion ( TInt )

voidSetVersion(TIntaVersion)

Validates and sets the message version number.

Parameters
aVersionversion number to set.
Capability
None

ValidateOperationL ( )

voidValidateOperationL()const [protected, virtual]

Identifies whether the message type or version supports this operation

Leave Codes
Ifthe 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

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