TStreamRef Class Reference

#include <s32strm.h>

Link against: eposprvtyp.lib

class TStreamRef

Detailed Description

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,
TExternalizeFunctionaFunction
)[inline]

Constructor.

ParameterDescription
aPtrA pointer to the object for which externalisation is being done.
aFunctionThe externalisation function.

Member Function Documentation

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const [inline]

Externalises the object to the specified write stream.

ParameterDescription
aStreamThe write stream.

Function ( )

TExternalizeFunction Function()const [inline]

Gets a pointer to the externalisation function.

Returns: The externalisation function.

Ptr ( )

const TAny *Ptr()const [inline]

Gets the pointer to the object to be externalised.

Returns: The object to be externalised.