DITA-OT_CXX_Plugin/cxxapiref/doc/cxxClass/cxxClassDefinition.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="cxxClassDefinition">
       
     8     <title>cxxClassDefinition</title>
       
     9     <shortdesc>The &lt;cxxClassDefinition&gt; element is defined within &lt;cxxClassDetail&gt;. 
       
    10     &lt;cxxClassDefinition&gt; represents the C++ class declaration.</shortdesc>
       
    11     <refbody>
       
    12         <section>
       
    13             <title>Description</title><p>A class declaration specifies a new named reference type. 
       
    14             A class declaration can include the following members: <i>public</i>, <i>protected</i> 
       
    15             or <i>private</i>, this is represented by the &lt;cxxClassAccessSpecifier&gt; element.</p>
       
    16             <p>&lt;cxxClassDefinition&gt; requires the element &lt;cxxClassAPIItemLocation&lt; as it's child.</p>
       
    17         </section>
       
    18         <example><title>Example</title>
       
    19         <codeblock>&lt;cxxClassDefinition&gt;
       
    20 			&lt;cxxClassAccessSpecifier value="public"/&gt;
       
    21 			&lt;cxxClassDerivations&gt;
       
    22 				&lt;cxxClassDerivation&gt;
       
    23 					&lt;cxxClassDerivationAccessSpecifier value="public"/&gt;
       
    24 					&lt;cxxClassBaseClass href="class_c_base.xml#class_c_base"&gt;CBase&lt;/cxxClassBaseClass&gt;
       
    25 				&lt;/cxxClassDerivation&gt;
       
    26 			&lt;/cxxClassDerivations&gt;
       
    27 			&lt;cxxClassAPIItemLocation&gt;
       
    28 				&lt;cxxClassDeclarationFile name="filePath" value="C:/src/include/e32base.h"/&gt;
       
    29 				&lt;cxxClassDeclarationFileLine name="lineNumber" value="2812"/&gt;
       
    30 				&lt;cxxClassDefinitionFile name="filePath" value="C:/src/include/e32base.h"/&gt;
       
    31 				&lt;cxxClassDefinitionFileLineStart name="lineNumber" value="2784"/&gt;
       
    32 				&lt;cxxClassDefinitionFileLineEnd name="lineNumber" value="2854"/&gt;
       
    33 			&lt;/cxxClassAPIItemLocation&gt;
       
    34 		&lt;/cxxClassDefinition&gt;</codeblock>
       
    35         </example>
       
    36         <section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-containedBy-section"/>
       
    37         <section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-contains-section"/>
       
    38         <section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-contentModel-section"/>
       
    39         <section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-attList-section"/>
       
    40         <section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-classValue-section"/>
       
    41     </refbody>
       
    42 </reference>