|
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 <cxxVariableConst> element contains optional const information.</shortdesc> |
|
10 <refbody> |
|
11 <section> |
|
12 <title>Description</title> |
|
13 <p>The <cxxVariableConst> element resides within the <cxxVariableDefinition> 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><cxxVariableDefinition> |
|
19 <cxxVariableAccessSpecifier value="public"/> |
|
20 <cxxVariableConst/> |
|
21 <cxxVariableDeclaredType>IMPORT_C const <apiRelation href="e32def_8h.xml#e32def_8h_1a9357a8e9552b6131a89fb3de94bff80a">TInt8</apiRelation></cxxVariableDeclaredType> |
|
22 <cxxVariableScopedName/> |
|
23 <cxxVariablePrototype>IMPORT_C const TInt8 KLinkedFontDrive</cxxVariablePrototype> |
|
24 <cxxVariableNameLookup>KLinkedFontDrive</cxxVariableNameLookup> |
|
25 <cxxVariableAPIItemLocation> |
|
26 <cxxVariableDeclarationFile name="filePath" value="C:/src/include/fntstore.h"/> |
|
27 <cxxVariableDeclarationFileLine name="lineNumber" value="66"/> |
|
28 </cxxVariableAPIItemLocation> |
|
29 </cxxVariableDefinition></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> |