Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
ExternalizeL(), Function(), Ptr(), TStreamRef()


Construction and destruction


TStreamRef()

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()

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()

inline TExternalizeFunction Function() const;

Description

Gets a pointer to the externalisation function.

Return value

TExternalizeFunction

The externalisation function.


ExternalizeL()

inline void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises the object to the specified write stream.

Parameters

RWriteStream &aStream

The write stream.