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="cxxClassDerivationAccessSpecifier"> |
|
8 <title>cxxClassDerivationAccessSpecifier</title> |
|
9 <shortdesc>The <cxxClassDerivationAccessSpecifier> element indicates the access specifier used when a class inherits from another class.</shortdesc> |
|
10 <refbody> |
|
11 <section> |
|
12 <title>Description</title> |
|
13 <p>The <cxxClassDerivationAccessSpecifier> element is contained within a <cxxClassDerivation> element. |
|
14 The value attribute is set to public, protected or private to describe the access the class has on the members of the base that is being derived from. |
|
15 The base referered to by the <cxxClassDerivationAccessSpecifier> element is indicated by using either a <cxxClassBaseClass>, <cxxClassBaseStruct> or <cxxClassBaseUnion> element as a sibling of <cxxClassDerivationAccessSpecifier>.</p> |
|
16 </section> |
|
17 <example><title>Example</title> |
|
18 <codeblock><cxxClassDerivation> |
|
19 <cxxClassDerivationAccessSpecifier value="public"/> |
|
20 <cxxClassBaseClass href="class_base">Base</cxxClassBaseClass> |
|
21 </cxxClassDerivation> |
|
22 </codeblock> |
|
23 </example> |
|
24 <section conref="../packagedef.dita#cxxClassDerivationAccessSpecifier-reference/cxxClassDerivationAccessSpecifier-containedBy-section"/> |
|
25 <section conref="../packagedef.dita#cxxClassDerivationAccessSpecifier-reference/cxxClassDerivationAccessSpecifier-contains-section"/> |
|
26 <section conref="../packagedef.dita#cxxClassDerivationAccessSpecifier-reference/cxxClassDerivationAccessSpecifier-contentModel-section"/> |
|
27 <section conref="../packagedef.dita#cxxClassDerivationAccessSpecifier-reference/cxxClassDerivationAccessSpecifier-attList-section"/> |
|
28 <section conref="../packagedef.dita#cxxClassDerivationAccessSpecifier-reference/cxxClassDerivationAccessSpecifier-classValue-section"/> |
|
29 </refbody> |
|
30 </reference> |