TStreamRef Class Reference

#include <s32strm.h>

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.

Parameters
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.

Parameters
aStreamThe write stream.

Function ( )

TExternalizeFunction Function()const [inline]

Gets a pointer to the externalisation function.

Return Value
The externalisation function.

Ptr ( )

const TAny *Ptr()const [inline]

Gets the pointer to the object to be externalised.

Return Value
The object to be externalised.