Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: s32share.h
Link against: estor.lib

Class RShareReadStream

RShareReadStream

Support

Supported from 5.0

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

RReadStreamThe read stream interface
RShareReadStreamSupports the opening, for reading, of a stream which shares its host with other streams

Defined in RShareReadStream:
Open(), RShareReadStream()

Inherited from RReadStream:
Attach(), Close(), Detach(), Pop(), PushL(), ReadInt16L(), ReadInt32L(), ReadInt8L(), ReadL(), ReadReal32L(), ReadReal64L(), ReadUint16L(), ReadUint32L(), ReadUint8L(), Release(), Source()

See also:


Construction


RShareReadStream()

RShareReadStream();

Description

Constructs an empty shared read stream object.

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

See also:


RShareReadStream()

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.

See also:

[Top]


Member functions


Open()

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.