TStreamRef Class Reference

class TStreamRef

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

Constructor & Destructor Documentation

TStreamRef(const TAny *, TExternalizeFunction)

TStreamRef ( const TAny * aPtr,
TExternalizeFunction aFunction
) [inline]

Constructor.

Parameters

const TAny * aPtr A pointer to the object for which externalisation is being done.
TExternalizeFunction aFunction The externalisation function.

Member Functions Documentation

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const [inline]

Externalises the object to the specified write stream.

Parameters

RWriteStream & aStream The write stream.

Function()

TExternalizeFunction Function ( ) const [inline]

Gets a pointer to the externalisation function.

Ptr()

const TAny * Ptr ( ) const [inline]

Gets the pointer to the object to be externalised.

Member Data Documentation

TExternalizeFunction iFunc

TExternalizeFunction iFunc [private]

const TAny * iPtr

const TAny * iPtr [private]