DITA-OT_CXX_Plugin/cxxapiref/doc/cxxStruct/cxxStructDerivationVirtual.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="cxxStructDerivationVirtual">
       
     8 	<title>cxxStructDerivationVirtual</title>
       
     9 	<shortdesc>The &lt;cxxStructDerivationVirtual&gt; element indicates if inheritance is declared as virtual.</shortdesc>
       
    10 	<refbody>
       
    11 		<section>
       
    12 			<title>Description</title>
       
    13 			<p>The &lt;cxxStructDerivationVirtual&gt; element is contained within a &lt;cxxStructDerivation&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;cxxStructDerivationVirtual&gt; element is indicated by using either a &lt;cxxStructBaseStruct&gt;, &lt;cxxStructBaseStruct&gt; or &lt;cxxStructBaseUnion&gt; element as a sibling of &lt;cxxStructDerivationVirtual&gt;.</p>
       
    16 		</section>
       
    17 		<example><title>Example</title>
       
    18 		<codeblock>&lt;cxxStructDerivations&gt;
       
    19 	&lt;cxxStructDerivation&gt;
       
    20 		&lt;cxxStructDerivationVirtual name="virtual" value="true"/&gt;
       
    21 		&lt;cxxStructDerivationAccessSpecifier value="public"/&gt;
       
    22 		&lt;cxxStructBaseStruct href="struct_base"&gt;Base&lt;/cxxStructBaseStruct&gt;
       
    23 	&lt;/cxxStructDerivation&gt;
       
    24 	...
       
    25 &lt;/cxxStructDerivations&gt;</codeblock>
       
    26 		</example>	        
       
    27 		<section conref="../packagedef.dita#cxxStructDerivationVirtual-reference/cxxStructDerivationVirtual-containedBy-section"/>
       
    28 		<section conref="../packagedef.dita#cxxStructDerivationVirtual-reference/cxxStructDerivationVirtual-contains-section"/>
       
    29 		<section conref="../packagedef.dita#cxxStructDerivationVirtual-reference/cxxStructDerivationVirtual-contentModel-section"/>
       
    30 		<section conref="../packagedef.dita#cxxStructDerivationVirtual-reference/cxxStructDerivationVirtual-attList-section"/>
       
    31 		<section conref="../packagedef.dita#cxxStructDerivationVirtual-reference/cxxStructDerivationVirtual-classValue-section"/>
       
    32 	</refbody>
       
    33 </reference>