#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.
| 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 = KStreamBeginning | |||
| ) | ||||
Constructs the shared read stream object and prepares the shared stream for reading.
See also: KStreamBeginning
| Parameter | Description | 
|---|---|
| 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 = KStreamBeginning | |||
| ) | ||||
Prepares the shared stream for reading.
| Parameter | Description | 
|---|---|
| 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. |