Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: s32stor.h
Link against: estor.lib

Class RDictionaryWriteStream

RDictionaryWriteStream

Support

Supported from 5.0

Description

Supports the creation or replacement of a stream a dictionary store.

Derivation

RDictionaryWriteStreamSupports the creation or replacement of a stream a dictionary store
RWriteStreamThe write stream interface

Defined in RDictionaryWriteStream:
AssignL(), AssignLC(), RDictionaryWriteStream()

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

See also:


Construction and destruction


RDictionaryWriteStream()

RDictionaryWriteStream();

Description

Constructs an uninitialised object. It is necessary because there are also non-default constructors in this class.


RDictionaryWriteStream()

RDictionaryWriteStream(const MExternalizer<TStreamRef>& anExter);

Description

Constructs the object with an externaliser. The store map CStoreMap is an example of an externaliser.

Parameters

const MExternalizer<TStreamRef>& anExter

Specifies an externaliser.

See also:

[Top]


Creating/replacing a stream


AssignL()

void AssignL(CDictionaryStore& aDictStore,TUid aUid);

Description

Prepares a stream in the specified dictionary store for writing.

If no stream is associated with the specified UID, then a new stream is created and an association is made between the resulting stream id and the specified UID. If a stream is currently associated with the specified UID, then this existing stream is prepared for replacement.

Parameters

CDictionaryStore& aDictStore

The dictionary store which contains the new or replacement stream.

TUid aUid

The UID associated with the stream.

See also:


AssignLC()

void AssignLC(CDictionaryStore& aDictStore,TUid aUid);

Description

Prepares a stream in the specified dictionary store for writing, and places a cleanup item for this RDictionaryWriteStream object onto the cleanup stack.

If no stream is associated with the specified UID, then a new stream is created and an association is made between the resulting stream id and the specified UID. If a stream is currently associated with the specified UID, then this existing stream is prepared for replacement.

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

Parameters

CDictionaryStore& aDictStore

The dictionary store which contains the new or replacement stream.

TUid aUid

The UID associated with the stream.