DITA-OT_CXX_Plugin/cxxapiref/doc/cxxClass/cxxClassDerivationVirtual.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="cxxClassDerivationVirtual">
       
     8 	<title>cxxClassDerivationVirtual</title>
       
     9 	<shortdesc>The &lt;cxxClassDerivationVirtual&gt; element indicates if inheritance is declared as virtual.</shortdesc>
       
    10 	<refbody>
       
    11 		<section>
       
    12 			<title>Description</title>
       
    13 			<p>The &lt;cxxClassDerivationVirtual&gt; element is contained within a &lt;cxxClassDerivation&gt; element. 
       
    14             The name attribute must be set to virtual and the value attribute must be set to true. 
       
    15             The base referered to by the &lt;cxxClassDerivationVirtual&gt; element is indicated by using either a &lt;cxxClassBaseClass&gt;, &lt;cxxClassBaseStruct&gt; or &lt;cxxClassBaseUnion&gt; element as a sibling of &lt;cxxClassDerivationVirtual&gt;.</p>
       
    16 		</section>
       
    17         <example>
       
    18             <title>Example</title>
       
    19             <codeblock>&lt;cxxClassDerivation&gt;
       
    20     &lt;cxxClassDerivationVirtual  name=&quot;virtual&quot; value=&quot;true&quot;/&gt;            
       
    21 	&lt;cxxClassDerivationAccessSpecifier value="public"/&gt;
       
    22 	&lt;cxxClassBaseClass href="class_base"&gt;Base&lt;/cxxClassBaseClass&gt;
       
    23 &lt;/cxxClassDerivation&gt;</codeblock>
       
    24         </example>        
       
    25 		<section conref="../packagedef.dita#cxxClassDerivationVirtual-reference/cxxClassDerivationVirtual-containedBy-section"/>
       
    26 		<section conref="../packagedef.dita#cxxClassDerivationVirtual-reference/cxxClassDerivationVirtual-contains-section"/>
       
    27 		<section conref="../packagedef.dita#cxxClassDerivationVirtual-reference/cxxClassDerivationVirtual-contentModel-section"/>
       
    28 		<section conref="../packagedef.dita#cxxClassDerivationVirtual-reference/cxxClassDerivationVirtual-attList-section"/>
       
    29 		<section conref="../packagedef.dita#cxxClassDerivationVirtual-reference/cxxClassDerivationVirtual-classValue-section"/>
       
    30 	</refbody>
       
    31 </reference>