DITA-OT_CXX_Plugin/cxxapiref/doc/cxxEnumeration/cxxEnumerationDefinition.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="cxxEnumerationDefinition">
       
     8     <title>cxxEnumerationDefinition</title>
       
     9     <shortdesc>The &lt;cxxEnumerationDefinition&gt; element is defined within &lt;cxxEnumerationDetail&gt;. 
       
    10     &lt;cxxEnumerationDefinition&gt; represents the C++ enumeration declaration.</shortdesc>
       
    11     <refbody>
       
    12         <section>
       
    13             <title>Description</title><p>An enumeration declaration specifies a new named reference type. 
       
    14             An enumeration declaration can include the following members: <i>public</i>, <i>protected</i> 
       
    15             or <i>private</i>, this is represented by the &lt;cxxEnumerationAccessSpecifier&gt; element.</p>
       
    16             <p>&lt;cxxEnumerationDefinition&gt; requires the element &lt;cxxEnumerationAPIItemLocation&gt; as its child.</p>
       
    17         </section>
       
    18         <example><title>Example</title>
       
    19         <codeblock>&lt;cxxEnumerationDefinition&gt;
       
    20 			&lt;cxxEnumerationAccessSpecifier value="public"/&gt;
       
    21 			&lt;cxxEnumerationAPIItemLocation&gt;
       
    22 				&lt;cxxEnumerationDeclarationFile name="filePath" value="C:/src/include/e32base.h"/&gt;
       
    23 				&lt;cxxEnumerationDeclarationFileLine name="lineNumber" value="2812"/&gt;
       
    24 				&lt;cxxEnumerationDefinitionFile name="filePath" value="C:/src/include/e32base.h"/&gt;
       
    25 				&lt;cxxEnumerationDefinitionFileLineStart name="lineNumber" value="2784"/&gt;
       
    26 				&lt;cxxEnumerationDefinitionFileLineEnd name="lineNumber" value="2854"/&gt;
       
    27 			&lt;/cxxEnumerationAPIItemLocation&gt;
       
    28 		&lt;/cxxEnumerationDefinition&gt;</codeblock>
       
    29         </example>
       
    30         <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-containedBy-section"/>
       
    31         <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-contains-section"/>
       
    32         <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-contentModel-section"/>
       
    33         <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-attList-section"/>
       
    34         <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-classValue-section"/>
       
    35     </refbody>
       
    36 </reference>