RShareWriteStream Class Reference

class RShareWriteStream : public RWriteStream

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.

RShareBuf RFileBuf

Inherits from

Constructor & Destructor Documentation

RShareWriteStream()

RShareWriteStream ( ) [inline]

Constructs an empty shared write stream object.

Call Open() to prepare the shared stream for writing.

RShareWriteStream::Open()

RShareWriteStream(const MExternalizer< TStreamRef > &)

RShareWriteStream ( const MExternalizer < TStreamRef > & anExter ) [inline]

Parameters

const MExternalizer < TStreamRef > & anExter

RShareWriteStream(TStreamExchange &, TStreamPos)

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

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

KStreamBeginning

Parameters

TStreamExchange & aHost The object that manages shared streaming.
TStreamPos aPos = KStreamBeginning The position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified.

Member Functions Documentation

Open(TStreamExchange &, TStreamPos)

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

Prepares the shared stream for writing.

Parameters

TStreamExchange & aHost The object that manages shared streaming.
TStreamPos aPos = KStreamBeginning The position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified.

Member Data Documentation

RShareBuf iSink

RShareBuf iSink [private]