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