RShareWriteStream Class Reference

#include <s32share.h>

class RShareWriteStream : public RWriteStream

Inherits from

Detailed 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.

See also: RShareBuf RFileBuf

Constructor & Destructor Documentation

RShareWriteStream ( )

RShareWriteStream()[inline]

Constructs an empty shared write stream object.

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

See also: RShareWriteStream::Open()

RShareWriteStream ( const MExternalizer< TStreamRef > & )

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

RShareWriteStream ( TStreamExchange &, TStreamPos )

IMPORT_CRShareWriteStream(TStreamExchange &aHost,
TStreamPosaPos = TStreamPos(0)
)

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

See also: KStreamBeginning

Parameters
aHostThe object that manages shared streaming.
aPosThe position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified.

Member Function Documentation

Open ( TStreamExchange &, TStreamPos )

IMPORT_C voidOpen(TStreamExchange &aHost,
TStreamPosaPos =  TStreamPos(0)
)

Prepares the shared stream for writing.

Parameters
aHostThe object that manages shared streaming.
aPosThe position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified.