DITA-OT_CXX_Plugin/cxxapiref/doc/cxxDefine/cxxDefineDefinition.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="cxxDefineDefinition">
       
     8     <title>cxxDefineDefinition</title>
       
     9     <shortdesc>The &lt;cxxDefineDefinition&gt; element is defined within &lt;cxxDefineDetail&gt;. 
       
    10     &lt;cxxDefineDefinition&gt; represents the C++ define declaration.</shortdesc>
       
    11     <refbody>
       
    12         <section>
       
    13             <title>Description</title>
       
    14             <p>A define declaration specifies a new named reference type. 
       
    15             A define declaration can include <i>public</i> members which is 
       
    16             represented by the &lt;cxxDefineAccessSpecifier&gt; element.</p>
       
    17         </section>
       
    18         <example>
       
    19             <title>Example</title>
       
    20             <codeblock>&lt;cxxDefineDefinition&gt;
       
    21     &lt;cxxDefineAccessSpecifier value="public"/&gt;
       
    22     &lt;cxxDefinePrototype&gt;#define ENABLE_NETWORKING_PERFMETRICS&lt;/cxxDefinePrototype&gt;
       
    23     &lt;cxxDefineNameLookup&gt;ENABLE_NETWORKING_PERFMETRICS&lt;/cxxDefineNameLookup&gt;
       
    24     &lt;cxxDefineParameters/&gt;
       
    25     &lt;cxxDefineAPIItemLocation&gt;
       
    26         &lt;cxxDefineDeclarationFile name="filePath" value="C:/EPOC/master/sf/os/commsfw/src/cfperfmetrics.cpp"/&gt;
       
    27         &lt;cxxDefineDeclarationFileLine name="lineNumber" value="17"/&gt;
       
    28     &lt;/cxxDefineAPIItemLocation&gt;
       
    29 &lt;/cxxDefineDefinition&gt;</codeblock>
       
    30         </example>
       
    31         <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-containedBy-section"/>
       
    32         <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-contains-section"/>
       
    33         <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-contentModel-section"/>
       
    34         <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-attList-section"/>
       
    35         <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-classValue-section"/>
       
    36     </refbody>
       
    37 </reference>