#include <s32share.h>
class RShareWriteStream : public RWriteStream |
Public Member Functions | |
---|---|
RShareWriteStream() | |
RShareWriteStream(const MExternalizer< TStreamRef > &) | |
RShareWriteStream(TStreamExchange &, TStreamPos) | |
IMPORT_C void | Open(TStreamExchange &, TStreamPos) |
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
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 > & | anExter | ) | [inline] |
IMPORT_C | RShareWriteStream | ( | TStreamExchange & | aHost, |
TStreamPos | aPos = TStreamPos(0) | |||
) |
Constructs the shared write stream object and prepares the shared stream for writing.
See also: KStreamBeginning
Parameters | |
---|---|
aHost | The object that manages shared streaming. |
aPos | The position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified. |
IMPORT_C void | Open | ( | TStreamExchange & | aHost, |
TStreamPos | aPos = TStreamPos(0) | |||
) |
Prepares the shared stream for writing.
Parameters | |
---|---|
aHost | The object that manages shared streaming. |
aPos | The position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified. |