Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: s32share.h
Link against: estor.lib

Class RShareWriteStream

RShareWriteStream

Support

Supported from 5.0

Description

Supports the opening, for writing, of a stream which shares its host with other streams.

This is also called a shared write stream.

The class uses a RShareBuf stream buffer.

Derivation

RShareWriteStreamSupports the opening, for writing, of a stream which shares its host with other streams
RWriteStreamThe write stream interface

Defined in RShareWriteStream:
Open(), RShareWriteStream()

Inherited from RWriteStream:
Attach(), Close(), CommitL(), Detach(), Pop(), PushL(), Release(), Sink(), WriteInt16L(), WriteInt32L(), WriteInt8L(), WriteL(), WriteReal32L(), WriteReal64L(), WriteUint16L(), WriteUint32L(), WriteUint8L()

See also:


Construction


RShareWriteStream()

RShareWriteStream();

Description

Constructs an empty shared write stream object.

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

See also:


RShareWriteStream()

RShareWriteStream(TStreamExchange& aHost,TStreamPos aPos=KStreamBeginning);

Description

Constructs the shared write stream object and prepares the shared stream for writing.

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

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.