Symbian3/PDK/Source/GUID-9C6D94B2-8F03-5A4D-9AEC-7C3FEA0E1ACA.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Fri, 22 Jan 2010 18:26:19 +0000
changeset 1 25a17d01db0c
child 3 46218c8b8afa
permissions -rw-r--r--
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept xml:lang="en" id="GUID-9C6D94B2-8F03-5A4D-9AEC-7C3FEA0E1ACA"><title>Dictionary read streams</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>Applications must construct an <codeph>RDictionaryReadStream</codeph> object before they can read from a stream located in a dictionary store. </p> <p>The dictionary store in which the stream is located and the UID associated with that stream are specified when the <codeph>RDictionaryReadStream</codeph> is opened.</p> <p>The following code fragment is typical. <codeph>store</codeph> is a pointer to an opened dictionary store. <codeph>RDictionaryReadStream::OpenLC()</codeph> opens the stream associated with the UID <codeph>theuid</codeph>:</p> <codeblock id="GUID-DDAF541C-43E2-54D0-A4BD-1484F208A6F1" xml:space="preserve">...
TUid theuid;
CDictionaryStore* store;
...
RDictionaryReadStream instream;
instream.OpenLC(*store,theuid);
TSomeData data;
instream &gt;&gt; data;
CleanupStack::PopAndDestroy();
...</codeblock> </conbody></concept>