#include <gsmunonieoperations.h>
| class CIncompleteClass0MessageInfo : public CSmsNonIEOperation, public CSmsNonIEOperation |
| Public Member Enumerations | |
|---|---|
| enum | TSmsIncompleteClass0MessageVersion { ESmsIncompleteClass0MessageV0, EMaxSmsIncompleteClass0MessageV } |
| Public Member Functions | |
|---|---|
| CIncompleteClass0MessageInfo(TSmsNonIEIdentifier, CSmsMessage &) | |
| void | ExternalizeL(RWriteStream &) |
| IMPORT_C void | GetIncompleteMessageInfoL(TInt &, TInt &, TBool &) |
| void | InternalizeL(RReadStream &) |
| IMPORT_C void | SetIncompleteMessageInfoL(TInt, TInt, TBool) |
| void | SetVersion(TInt) |
| TInt | Version() |
| Protected Member Functions | |
|---|---|
| virtual TBool | MessageTypeSupported() |
| virtual void | ValidateOperationL() |
| void | operator=(const CIncompleteClass0MessageInfo &) |
| TBool | operator==(const CIncompleteClass0MessageInfo &) |
| Inherited Attributes | |
|---|---|
| CSmsNonIEOperation::iMessage | |
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.
Incomplete Class 0 Message versions
| Enumerator | Value | Description |
|---|---|---|
| ESmsIncompleteClass0MessageV0 |
The default value. | |
| EMaxSmsIncompleteClass0MessageV |
| void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
Externalises all object data.
| Parameters | |
|---|---|
| aStream | Stream to write to |
| Capability | |
|---|---|
| None |
| 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.
| Parameters | |
|---|---|
| aStartPos | Starting PDU position of decoded message. |
| aEndPos | End PDU position of decoded message. |
| Capability | |
|---|---|
| None |
| void | InternalizeL | ( | RReadStream & | aStream | ) |
Internalises all object data.
| Parameters | |
|---|---|
| aStream | Stream to read from |
| Capability | |
|---|---|
| None |
| TBool | MessageTypeSupported | ( | ) | const [protected, virtual] |
Reimplemented from CSmsNonIEOperation::MessageTypeSupported()const
Identifies which message type is supported
Sets the incomplete message info. This information will indicate the partial complete message consists of which PDUs.
| Parameters | |
|---|---|
| aStartPos | Starting PDU position of decoded message. |
| aEndPos | End PDU position of decoded message. |
| Capability | |
|---|---|
| None |
| void | SetVersion | ( | TInt | aVersion | ) |
Validates and sets the message version number.
| Parameters | |
|---|---|
| aVersion | version number to set. |
| Capability | |
|---|---|
| None |
| void | ValidateOperationL | ( | ) | const [protected, virtual] |
Reimplemented from CSmsNonIEOperation::ValidateOperationL()const
Identifies whether the message type or version supports this operation
| Leave Codes | |
|---|---|
| If | the message type or version does not support this operation. |
| 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 |
| 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 |