Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: s32std.h
Link against: estor.lib

Class RStoreReadStream

RStoreReadStream

Support

Supported from 5.0

Description

Supports the opening and manipulation of an existing stream in a store.

Derivation

RReadStreamThe read stream interface
RStoreReadStreamSupports the opening and manipulation of an existing stream in a store

Defined in RStoreReadStream:
OpenL(), OpenLC()

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


Member functions


OpenL()

void OpenL(const CStreamStore& aStore,TStreamId anId);

Description

Opens and prepares an existing stream for reading. The function leaves if it cannot complete successfully.

Parameters

const CStreamStore& aStore

A reference to the store containing the stream with the specified stream id.

TStreamId anId

The stream id of the stream to be read.


OpenLC()

void OpenLC(const CStreamStore& aStore,TStreamId anId);

Description

Opens and prepares an existing stream for reading, leaving a cleanup item on the cleanup stack. The function leaves if it cannot complete successfully.

Placing a cleanup item for the RStoreReadStream onto the cleanup stack allows allocated resources to be cleaned up if a subsequent leave occurs.

Parameters

const CStreamStore& aStore

A reference to the store containing the stream with the specified id.

TStreamId anId

The stream id of the stream to be read.