TConnMonId Class Reference

class TConnMonId : public MDesSerializer< TConnMonId >

Class representing an ID number. MDesSerializer - abstract interface for class serialization.

Inherits from

Public Member Functions
TConnMonId ( TUint )
IMPORT_C TConnMonId FromPtrC (const TPtrC &)
IMPORT_C TUint Id ()
IMPORT_C const HBufC * ToBuf ()
Public Member Enumerations
enum FieldsShifts { EId  = 0 }
Public Attributes
const TUint KMaxSize
Protected Attributes
const TUint iId

Constructor & Destructor Documentation

TConnMonId(TUint)

IMPORT_C TConnMonId ( TUint aId )

Constructor.

Parameters

TUint aId ID number.

Member Functions Documentation

FromPtrC(const TPtrC &)

IMPORT_C TConnMonId FromPtrC ( const TPtrC & aPtrC ) [static]

Reads object of class TConnMonId from memory.

Parameters

const TPtrC & aPtrC Pointer to the beginning of the TConnMonId object in buffer.

Id()

IMPORT_C TUint Id ( ) const

Obtains the ID number.

ToBuf()

IMPORT_C const HBufC * ToBuf ( ) const [virtual]

Writes object of class TConnMonId to memory. Ownership of newly created buffer is transferred to caller.

Member Enumerations Documentation

Enum FieldsShifts

Defines shifts of fields inside the object.

Enumerators

EId = 0

Member Data Documentation

const TUint KMaxSize

const TUint KMaxSize [static]

Defines the maximum size of the object in TChar's. +1 is for rounding to bigger integer.

const TUint iId

const TUint iId [protected]

ID number.