DITA-OT_CXX_Plugin/cxxapiref/doc/cxxVariable/cxxVariableConst.dita
changeset 4 468f4c8d3d5b
equal deleted inserted replaced
3:d8fccb2cd802 4:468f4c8d3d5b
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!--
       
     3 Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     4 All rights reserved.		
       
     5 		-->
       
     6 <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
       
     7 <reference xml:lang="en-us" outputclass="element" id="cxxVariableConst">
       
     8     <title>cxxVariableConst</title>
       
     9     <shortdesc>The &lt;cxxVariableConst&gt; element contains optional const information.</shortdesc>
       
    10     <refbody>
       
    11         <section>
       
    12             <title>Description</title>
       
    13             <p>The &lt;cxxVariableConst&gt; element resides within the &lt;cxxVariableDefinition&gt; element. 
       
    14             The cxxVariableConst element has no children but must have the attributes <i>name</i> and <i>value</i>. 
       
    15             <i>name</i> and <i>value</i> are both set to "const".</p>
       
    16         </section>
       
    17         <example><title>Example</title>
       
    18         <codeblock>&lt;cxxVariableDefinition&gt;
       
    19     &lt;cxxVariableAccessSpecifier value=&quot;public&quot;/&gt;
       
    20     &lt;cxxVariableConst/&gt;
       
    21     &lt;cxxVariableDeclaredType&gt;IMPORT_C const &lt;apiRelation href=&quot;e32def_8h.xml#e32def_8h_1a9357a8e9552b6131a89fb3de94bff80a&quot;&gt;TInt8&lt;/apiRelation&gt;&lt;/cxxVariableDeclaredType&gt;
       
    22     &lt;cxxVariableScopedName/&gt;
       
    23     &lt;cxxVariablePrototype&gt;IMPORT_C const TInt8 KLinkedFontDrive&lt;/cxxVariablePrototype&gt;
       
    24     &lt;cxxVariableNameLookup&gt;KLinkedFontDrive&lt;/cxxVariableNameLookup&gt;
       
    25     &lt;cxxVariableAPIItemLocation&gt;
       
    26         &lt;cxxVariableDeclarationFile name=&quot;filePath&quot; value=&quot;C:/src/include/fntstore.h&quot;/&gt;
       
    27         &lt;cxxVariableDeclarationFileLine name=&quot;lineNumber&quot; value=&quot;66&quot;/&gt;
       
    28     &lt;/cxxVariableAPIItemLocation&gt;
       
    29 &lt;/cxxVariableDefinition&gt;</codeblock>
       
    30         </example>        
       
    31         <section conref="../packagedef.dita#cxxVariableConst-reference/cxxVariableConst-containedBy-section"/>
       
    32         <section conref="../packagedef.dita#cxxVariableConst-reference/cxxVariableConst-contains-section"/>
       
    33         <section conref="../packagedef.dita#cxxVariableConst-reference/cxxVariableConst-contentModel-section"/>
       
    34         <section conref="../packagedef.dita#cxxVariableConst-reference/cxxVariableConst-attList-section"/>
       
    35         <section conref="../packagedef.dita#cxxVariableConst-reference/cxxVariableConst-classValue-section"/>
       
    36     </refbody>
       
    37 </reference>