Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <S32SHARE.H>
Link against: estor.lib

Class RShareWriteStream

class RShareWriteStream : public RWriteStream;

Description

Supports the opening, for writing, of a stream which shares its host with other streams.

This is also called a shared write stream.

The class uses a RShareBuf stream buffer.

Derivation

Members

Defined in RShareWriteStream:

Inherited from RWriteStream:

See also:


Construction and destruction


RShareWriteStream()

inline RShareWriteStream();

Description

Constructs an empty shared write stream object.

Call RShareWriteStream::Open(TStreamExchange &,TStreamPos) to prepare the shared stream for writing.

See also:


RShareWriteStream(const MExternalizer< TStreamRef > &)

inline RShareWriteStream(const MExternalizer< TStreamRef > &anExter);

Description

Parameters

const MExternalizer< TStreamRef > &anExter


RShareWriteStream(TStreamExchange &,TStreamPos)

IMPORT_C RShareWriteStream(TStreamExchange &aHost, TStreamPos aPos=KStreamBeginning);

Description

Constructs the shared write stream object and prepares the shared stream for writing.

Parameters

TStreamExchange &aHost

The object that manages shared streaming.

TStreamPos aPos

The position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified.

[Top]


Member functions


Open(TStreamExchange &,TStreamPos)

IMPORT_C void Open(TStreamExchange &aHost, TStreamPos aPos=KStreamBeginning);

Description

Prepares the shared stream for writing.

Parameters

TStreamExchange &aHost

The object that manages shared streaming.

TStreamPos aPos

The position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified.