TStreamRef Class Reference

class TStreamRef

A proxy for perfoming externalisation for classes that do not have an externalisation member.

Public Member Functions
TStreamRef(const TAny *, TExternalizeFunction)
voidExternalizeL(RWriteStream &)
TExternalizeFunction Function()
const TAny *Ptr()
Private Attributes
TExternalizeFunction iFunc
const TAny *iPtr

Constructor & Destructor Documentation

TStreamRef(const TAny *, TExternalizeFunction)

TStreamRef(const TAny *aPtr,
TExternalizeFunctionaFunction
)[inline]

Constructor.

Parameters

const TAny * aPtrA pointer to the object for which externalisation is being done.
TExternalizeFunction aFunctionThe externalisation function.

Member Functions Documentation

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const [inline]

Externalises the object to the specified write stream.

Parameters

RWriteStream & aStreamThe write stream.

Function()

TExternalizeFunction Function()const [inline]

Gets a pointer to the externalisation function.

The externalisation function.

Ptr()

const TAny *Ptr()const [inline]

Gets the pointer to the object to be externalised.

The object to be externalised.

Member Data Documentation

TExternalizeFunction iFunc

TExternalizeFunction iFunc[private]

const TAny * iPtr

const TAny *iPtr[private]