Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
Open(), RShareReadStream(), RShareReadStream()

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

See also:


Construction and destruction


RShareReadStream()

inline RShareReadStream();

Description

Constructs an empty shared read stream object.

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

See also:


RShareReadStream()

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()

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.