|
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 <cxxStructDerivationVirtual> element indicates if inheritance is declared as virtual.</shortdesc> |
|
10 <refbody> |
|
11 <section> |
|
12 <title>Description</title> |
|
13 <p>The <cxxStructDerivationVirtual> element is contained within a <cxxStructDerivation> 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 <cxxStructDerivationVirtual> element is indicated by using either a <cxxStructBaseStruct>, <cxxStructBaseStruct> or <cxxStructBaseUnion> element as a sibling of <cxxStructDerivationVirtual>.</p> |
|
16 </section> |
|
17 <example><title>Example</title> |
|
18 <codeblock><cxxStructDerivations> |
|
19 <cxxStructDerivation> |
|
20 <cxxStructDerivationVirtual name="virtual" value="true"/> |
|
21 <cxxStructDerivationAccessSpecifier value="public"/> |
|
22 <cxxStructBaseStruct href="struct_base">Base</cxxStructBaseStruct> |
|
23 </cxxStructDerivation> |
|
24 ... |
|
25 </cxxStructDerivations></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> |