DITA-OT_CXX_Plugin/cxxapiref/doc/cxxDefine/cxxDefineParameter.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="cxxDefineParameter">
       
     8     <title>cxxDefineParameter</title>
       
     9     <shortdesc>The &lt;cxxDefineParameter&gt; element describes a define parameter.</shortdesc>
       
    10     <refbody>
       
    11         <section>
       
    12             <title>Description</title>
       
    13             <p>The &lt;cxxDefineParameter&gt; element describes a single parameter in an identifier-list.</p>
       
    14         </section>
       
    15         <example>
       
    16             <title>Example</title>
       
    17             <codeblock>&lt;cxxDefineDefinition&gt;
       
    18     &lt;cxxDefineAccessSpecifier value="public"/&gt;
       
    19     &lt;cxxDefinePrototype&gt;#define MergeModes(a, b)&lt;/cxxDefinePrototype&gt;
       
    20     &lt;cxxDefineNameLookup&gt;MergeModes&lt;/cxxDefineNameLookup&gt;
       
    21     &lt;cxxDefineParameters&gt;
       
    22         &lt;cxxDefineParameter&gt;
       
    23             &lt;cxxDefineParameterDeclarationName&gt;a&lt;/cxxDefineParameterDeclarationName&gt;
       
    24             &lt;apiDefNote/&gt;
       
    25         &lt;/cxxDefineParameter&gt;
       
    26         &lt;cxxDefineParameter&gt;
       
    27             &lt;cxxDefineParameterDeclarationName&gt;b&lt;/cxxDefineParameterDeclarationName&gt;
       
    28             &lt;apiDefNote/&gt;
       
    29         &lt;/cxxDefineParameter&gt;
       
    30     &lt;/cxxDefineParameters&gt;
       
    31     &lt;cxxDefineAPIItemLocation&gt;
       
    32         &lt;cxxDefineDeclarationFile name="filePath" value="C:/EPOC/master/sf/os/commsfw/serialserver/c32serialserver/SCOMM/CS_PORT.CPP"/&gt;
       
    33         &lt;cxxDefineDeclarationFileLine name="lineNumber" value="126"/&gt;
       
    34     &lt;/cxxDefineAPIItemLocation&gt;
       
    35 &lt;/cxxDefineDefinition&gt;</codeblock>
       
    36         </example>
       
    37         <section conref="../packagedef.dita#cxxDefineParameter-reference/cxxDefineParameter-containedBy-section"/>
       
    38         <section conref="../packagedef.dita#cxxDefineParameter-reference/cxxDefineParameter-contains-section"/>
       
    39         <section conref="../packagedef.dita#cxxDefineParameter-reference/cxxDefineParameter-contentModel-section"/>
       
    40         <section conref="../packagedef.dita#cxxDefineParameter-reference/cxxDefineParameter-attList-section"/>
       
    41         <section conref="../packagedef.dita#cxxDefineParameter-reference/cxxDefineParameter-classValue-section"/>
       
    42     </refbody>
       
    43 </reference>