DITA-OT_CXX_Plugin/cxxapiref/doc/cxxStruct/cxxStruct.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="cxxStruct">
       
     8     <title>cxxStruct</title>
       
     9     <shortdesc>The &lt;cxxStruct&gt; element provides the name of the C++ API
       
    10 struct, all the elements necessary to describe the members that are introduced
       
    11 by the struct declaration, and the members inherited from the direct base struct.</shortdesc>
       
    12     <refbody>
       
    13         <section>
       
    14             <title>Description</title>
       
    15             <p>The &lt;cxxStruct&gt; element requires
       
    16 an ID attribute as an anchor point; this ID must always be specified. The
       
    17 ID attribute is referenced by the <i>conref</i> attribute and internal applications
       
    18 that refer to the  &lt;cxxStruct&gt; element content. The elements &lt;apiName&gt; 
       
    19 and &lt;cxxStructDetail&gt; are required for this top-level container. </p>
       
    20         </section>
       
    21         <example>
       
    22             <title>Example</title>
       
    23             <codeblock>&lt;cxxClass id=&quot;GUID-697DBFB2-9EB6-3C22-BB12-92FDF3A03DF4&quot;&gt;
       
    24 	&lt;apiName&gt;CSocketServer&lt;/apiName&gt;
       
    25 	&lt;cxxClassDetail&gt;
       
    26 		&lt;cxxClassDefinition&gt;
       
    27 			&lt;cxxClassAccessSpecifier value=&quot;public&quot; /&gt;
       
    28 			&lt;cxxClassAPIItemLocation&gt;
       
    29 				&lt;cxxClassDeclarationFile name=&quot;filePath&quot; value=&quot;s:/sf/os/commsfw/datacommsserver/esockserver/inc/ss_std.h&quot; /&gt;
       
    30 				&lt;cxxClassDeclarationFileLine name=&quot;lineNumber&quot; value=&quot;309&quot; /&gt;
       
    31 			&lt;/cxxClassAPIItemLocation&gt;
       
    32 		&lt;/cxxClassDefinition&gt;
       
    33 		&lt;apiDesc /&gt;
       
    34 	&lt;/cxxClassDetail&gt;
       
    35 &lt;/cxxClass&gt;
       
    36             </codeblock>
       
    37         </example>       
       
    38         <section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-containedBy-section"/>
       
    39         <section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-contains-section"/>
       
    40         <section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-contentModel-section"/>
       
    41         <section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-attList-section"/>
       
    42         <section conref="../packagedef.dita#cxxStruct-reference/cxxStruct-classValue-section"/>
       
    43     </refbody>
       
    44 </reference>