Symbian3/SDK/Source/GUID-E736B50D-F671-5CCB-A245-BA9791ADA395.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 id="GUID-E736B50D-F671-5CCB-A245-BA9791ADA395" xml:lang="en"><title>ReadArray:
       
    13 Reading the Contents of a Resource File into an Array</title><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    14 <section><title>Download</title> <p>Click on the following link to download
       
    15 the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-22921bf6-7d6a-4e76-9a9b-caada1b38c69.zip" scope="external">ReadArray.zip</xref></p>Download some additional files required
       
    16 by the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-89fa6105-e749-4e5f-a233-a000e3b9390b.zip" scope="external">CommonFramework.zip</xref> and <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-7c88b173-b677-457c-9f87-ef28897de1d7.zip" scope="external">CommonFile.zip</xref><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-22921bf6-7d6a-4e76-9a9b-caada1b38c69.html" scope="peer">browse</xref> to view the example code. </p>View the additional
       
    17 files: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-89fa6105-e749-4e5f-a233-a000e3b9390b.html" scope="peer">browse CommonFramework</xref> and <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-7c88b173-b677-457c-9f87-ef28897de1d7.html" scope="peer">browse CommonFile</xref>.    </section>
       
    18 <section><title>Description</title> <p>This example shows how to load data
       
    19 from resource files into a class. ReadArray loads the resource identified
       
    20 as SECOND from the resource file; this is an array of DATA structures. (The
       
    21 resource FIRST is not used in this example) </p> <p>The example constructs
       
    22 a <codeph>CResDataArray</codeph> object to contain an array of <codeph>CResData</codeph> objects,
       
    23 one for each DATA structure in the array. The <codeph>CResDataArray</codeph> object
       
    24 can also display the individual items of each DATA structure at the test console.
       
    25 All WORD, BYTE and LONG are interpreted as signed values. </p> <p>The example
       
    26 follows on from the <xref href="GUID-4820CA37-982D-57BC-8829-498192801B1E.dita">Reading
       
    27 from a resource file</xref> example. </p> </section>
       
    28 <section><title>Class Summary</title><p><xref href="GUID-D84A8F1C-AE68-3E7B-9E07-5A4B0D664F46.dita"><apiname>CResData</apiname></xref></p><p><xref href="GUID-FCE7D958-96AA-346D-8D22-0EF24B9DB7CC.dita"><apiname>CArrayPtrFlat</apiname></xref></p><p><xref href="GUID-CA2431AB-254B-3852-B9C1-541F44E577CD.dita"><apiname>CResDataArray</apiname></xref></p><p><xref href="GUID-AA6DEF11-6F23-3523-A9F7-F15DF918E1BA.dita"><apiname>RResourceFile</apiname></xref></p><p><xref href="GUID-B375D32E-1F91-30FA-8605-A2E163111F9A.dita"><apiname>TResourceReader</apiname></xref></p></section>
       
    29 </conbody></concept>