equal
deleted
inserted
replaced
|
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 <cxxClassDerivationVirtual> element indicates if inheritance is declared as virtual.</shortdesc> |
|
10 <refbody> |
|
11 <section> |
|
12 <title>Description</title> |
|
13 <p>The <cxxClassDerivationVirtual> element is contained within a <cxxClassDerivation> 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 <cxxClassDerivationVirtual> element is indicated by using either a <cxxClassBaseClass>, <cxxClassBaseStruct> or <cxxClassBaseUnion> element as a sibling of <cxxClassDerivationVirtual>.</p> |
|
16 </section> |
|
17 <example> |
|
18 <title>Example</title> |
|
19 <codeblock><cxxClassDerivation> |
|
20 <cxxClassDerivationVirtual name="virtual" value="true"/> |
|
21 <cxxClassDerivationAccessSpecifier value="public"/> |
|
22 <cxxClassBaseClass href="class_base">Base</cxxClassBaseClass> |
|
23 </cxxClassDerivation></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> |