Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class RStoreReadStream

class RStoreReadStream : public RReadStream;

Description

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

Derivation

Members

Defined in RStoreReadStream:

Inherited from RReadStream:


Member functions


OpenL(const CStreamStore &,TStreamId)

IMPORT_C 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(const CStreamStore &,TStreamId)

IMPORT_C 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.