MDesSerializer Class Reference

#include <mw/rconnmon.h>

class MDesSerializer
Public Member Functions
TFromPtrC(const TPtrC &)
pure virtual const HBufC *ToBuf()

Detailed Description

Interface template for the class T serialization to/from HBuf/TPtr. Class T could be any type of class (T, C, etc.).

Member Function Documentation

FromPtrC ( const TPtrC & )

TFromPtrC(const TPtrC &aPtrC)[static]

Have to unpack object of class T from aPtrC.

Returns: Constant pointer to the heap descriptor.

ToBuf ( )

const HBufC *ToBuf()const [pure virtual]

Have to pack the object of class T to HBufC. Ownership of newly created pointer is transferred to caller.

Returns: Pointer to the heap descriptor.