#include <s32share.h>
class RShareReadStream : public RReadStream |
Public Member Functions | |
---|---|
RShareReadStream() | |
RShareReadStream(TStreamExchange &, TStreamPos) | |
IMPORT_C void | Open(TStreamExchange &, TStreamPos) |
Supports the opening, for reading, of a stream which shares its host with other streams.
This is also called a shared read stream.
The class uses a RShareBuf stream buffer.
See also: RShareBuf RFileBuf
RShareReadStream | ( | ) | [inline] |
Constructs an empty shared read stream object.
Call Open() to prepare the shared stream for reading.
See also: RShareReadStream::Open()
IMPORT_C | RShareReadStream | ( | TStreamExchange & | aHost, |
TStreamPos | aPos = TStreamPos(0) | |||
) |
Constructs the shared read stream object and prepares the shared stream for reading.
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 reading.
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. |