Applications must construct an RDictionaryReadStream
object before they can read from a stream located in a dictionary store.
The dictionary store in which the stream is located and the UID
associated with that stream are specified when the
RDictionaryReadStream
is opened.
The following code fragment is typical. store
is a
pointer to an opened dictionary store.
RDictionaryReadStream::OpenLC()
opens the stream associated with
the UID theuid
:
...
TUid theuid;
CDictionaryStore* store;
...
RDictionaryReadStream instream;
instream.OpenLC(*store,theuid);
TSomeData data;
instream >> data;
CleanupStack::PopAndDestroy();
...