Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <S32STRM.H>

Class TStreamRef

class TStreamRef;

Description

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

Members

Defined in TStreamRef:


Construction and destruction


TStreamRef(const TAny *,TExternalizeFunction)

inline TStreamRef(const TAny *aPtr, TExternalizeFunction aFunction);

Description

Constructor.

Parameters

const TAny *aPtr

A pointer to the object for which externalisation is being done.

TExternalizeFunction aFunction

The externalisation function.

[Top]


Member functions


Ptr()const

inline const TAny* Ptr() const;

Description

Gets the pointer to the object to be externalised.

Return value

const TAny *

The object to be externalised.


Function()const

inline TExternalizeFunction Function() const;

Description

Gets a pointer to the externalisation function.

Return value

TExternalizeFunction

The externalisation function.


ExternalizeL(RWriteStream &)const

inline void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises the object to the specified write stream.

Parameters

RWriteStream &aStream

The write stream.