|
|
|
|
Location:
S32STOR.H
Link against: estor.lib
class RDictionaryWriteStream : public RWriteStream;
Supports the creation or replacement of a stream a dictionary store.
RWriteStream - The write stream interface
RDictionaryWriteStream - Supports the creation or replacement of a stream a dictionary store
Defined in RDictionaryWriteStream:
AssignL(), AssignLC(), RDictionaryWriteStream(), RDictionaryWriteStream()
Inherited from RWriteStream:
Attach(),
Close(),
CommitL(),
Detach(),
Pop(),
PushL(),
Release(),
Sink(),
WriteInt16L(),
WriteInt32L(),
WriteInt8L(),
WriteL(),
WriteReal32L(),
WriteReal64L(),
WriteUint16L(),
WriteUint32L(),
WriteUint8L()
inline RDictionaryWriteStream();
Constructs an uninitialised object. It is necessary because there are also non-default constructors in this class.
inline RDictionaryWriteStream(const MExternalizer< TStreamRef > &anExter);
Constructs the object with an externaliser. The store map CStoreMap is an example of an externaliser.
|
IMPORT_C void AssignL(CDictionaryStore &aDictStore, TUid aUid);
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.
|
IMPORT_C void AssignLC(CDictionaryStore &aDictStore, TUid aUid);
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.
|