From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Created: eswar_illuri (21 May 2007)
Last edited: hamishwillee (26 Jul 2012)

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

To prepare a stream for writing, use the RDictionaryWriteStream::AssignL() or RDictionaryWriteStream::AssignLC() functions, passing a reference to the dictionary store and the UID associated with the stream.

If no stream is associated with the UID, then a new stream is created. An association is made between the resulting stream ID and the UID.

If a stream is currently associated with the specified UID, then the existing stream is prepared for replacement.

TUid theuid;
CDictionaryStore* store;
RDictionaryWriteStream outstream;
TSomeData data;
outstream << data;
CleanupStack::PopAndDestroy(); // cleanup the write stream
store->CommitL(); // commit changes to the dictionary store
This page was last modified on 26 July 2012, at 09:15.
29 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.