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_CRShareWriteStream(TStreamExchange &aHost,
TStreamPosaPos = KStreamBeginning
)

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

KStreamBeginning

Parameters

TStreamExchange & aHostThe object that manages shared streaming.
TStreamPos aPos = KStreamBeginningThe 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 voidOpen(TStreamExchange &aHost,
TStreamPosaPos = KStreamBeginning
)

Prepares the shared stream for writing.

Parameters

TStreamExchange & aHostThe object that manages shared streaming.
TStreamPos aPos = KStreamBeginningThe 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]