RMsvWriteStream Class Reference

#include <mw/msvstore.h>

class RMsvWriteStream : public RWriteStream, public RWriteStream

Inherits from

Detailed Description

Accesses the streams in a message store with write access, or creates new streams. Before it is used, a CMsvStore must have been opened on the message store with write access.

This class is intended for use by MTM implementations to store MTM-specific information. Message client applications access the store through the higher-level functions provided by Client-side and User Interface MTMs.

Most of its functionality is provided by the base class RWriteStream.

Member Function Documentation

AssignL ( CMsvStore &, TUid )

IMPORT_C voidAssignL(CMsvStore &aMsvStore,
TUidaUid
)

Prepares a stream for writing.

After this function has been called, the stream can be written to with the functions provided by the RWriteStream base class.

If the stream does not exist, it is created.

Parameters
aMsvStoreThe CMsvStore the stream is in
aUidThe UID of the stream to open with write access
Leave Codes
KErrAccessDeniedStore is not open for writing
OtherStandard stream leave codes

AssignLC ( CMsvStore &, TUid )

IMPORT_C voidAssignLC(CMsvStore &aMsvStore,
TUidaUid
)

Prepares a stream for writing; the object is placed on the cleanup stack.

After this function has been called, the stream can be written to with the functions provided by the RWriteStream base class.

If the stream does not exist, it is created.

Parameters
aMsvStoreThe CMsvStore the stream is in
aUidThe UID of the stream to open with write access
Leave Codes
KErrAccessDeniedStore is not open for writing
OtherStandard stream leave codes

AssignLC ( CMsvCachedStore &, TUid )

voidAssignLC(CMsvCachedStore &aStore,
TUidaUid
)