Symbian3/SDK/Source/GUID-9C6D94B2-8F03-5A4D-9AEC-7C3FEA0E1ACA.dita
changeset 0 89d6a7a84779
equal deleted inserted replaced
-1:000000000000 0:89d6a7a84779
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <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">...
       
    13 TUid theuid;
       
    14 CDictionaryStore* store;
       
    15 ...
       
    16 RDictionaryReadStream instream;
       
    17 instream.OpenLC(*store,theuid);
       
    18 TSomeData data;
       
    19 instream &gt;&gt; data;
       
    20 CleanupStack::PopAndDestroy();
       
    21 ...</codeblock> </conbody></concept>