Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <S32SHARE.H>
Link against: estor.lib

Class RShareReadStream

class RShareReadStream : public RReadStream;

Description

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.

Derivation

Members

Defined in RShareReadStream:

Inherited from RReadStream:

See also:


Construction and destruction


RShareReadStream()

inline RShareReadStream();

Description

Constructs an empty shared read stream object.

Call RShareReadStream::Open(TStreamExchange &,TStreamPos) to prepare the shared stream for reading.

See also:


RShareReadStream(TStreamExchange &,TStreamPos)

IMPORT_C RShareReadStream(TStreamExchange &aHost, TStreamPos aPos=KStreamBeginning);

Description

Constructs the shared read stream object and prepares the shared stream for reading.

Parameters

TStreamExchange &aHost

The object that manages shared streaming.

TStreamPos aPos

The position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified.

[Top]


Member functions


Open(TStreamExchange &,TStreamPos)

IMPORT_C void Open(TStreamExchange &aHost, TStreamPos aPos=KStreamBeginning);

Description

Prepares the shared stream for reading.

Parameters

TStreamExchange &aHost

The object that manages shared streaming.

TStreamPos aPos

The position of the stream within the host stream. Defaults to the beginning of the host stream, if not explicitly specified.