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 TConnMonIdFromPtrC(const TPtrC &)
IMPORT_C TUintId()
IMPORT_C const HBufC *ToBuf()
Public Member Enumerations
enumFieldsShifts { EId = 0 }
Public Attributes
const TUintKMaxSize
Protected Attributes
const TUintiId

Constructor & Destructor Documentation

TConnMonId(TUint)

IMPORT_CTConnMonId(TUintaId)

Constructor.

Parameters

TUint aIdID number.

Member Functions Documentation

FromPtrC(const TPtrC &)

IMPORT_C TConnMonIdFromPtrC(const TPtrC &aPtrC)[static]

Reads object of class TConnMonId from memory.

Parameters

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

Id()

IMPORT_C TUintId()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 TUintKMaxSize[static]

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

const TUint iId

const TUintiId[protected]

ID number.