#include <mw/rconnmon.h>
| class TConnMonId : public MDesSerializer< TConnMonId > |
| Public Attributes | |
|---|---|
| const TUint | KMaxSize |
| Protected Attributes | |
|---|---|
| const TUint | iId |
| Public Member Enumerations | |
|---|---|
| enum | FieldsShifts { EId } |
| Public Member Functions | |
|---|---|
| TConnMonId(TUint) | |
| IMPORT_C TConnMonId | FromPtrC(const TPtrC &) |
| IMPORT_C TUint | Id() |
| virtual IMPORT_C const HBufC * | ToBuf() |
Class representing an ID number. MDesSerializer - abstract interface for class serialization.
| const TUint | KMaxSize | [static] |
Defines the maximum size of the object in TChar's. +1 is for rounding to bigger integer.
| IMPORT_C TConnMonId | FromPtrC | ( | const TPtrC & | aPtrC | ) | [static] |
Reimplemented from MDesSerializer< TConnMonId >::FromPtrC(const TPtrC &)
Reads object of class TConnMonId from memory.
| Parameter | Description |
|---|---|
| aPtrC | Pointer to the beginning of the TConnMonId object in buffer. |
Returns: The newly created TConnMonId object.
| IMPORT_C const HBufC * | ToBuf | ( | ) | const [virtual] |
Reimplemented from MDesSerializer< TConnMonId >::ToBuf()const
Writes object of class TConnMonId to memory. Ownership of newly created buffer is transferred to caller.
Returns: Pointer to heap descriptor, NULL if memory allocation failed.