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="cxxUnionAccessSpecifier"> |
|
8 <title>cxxUnionAccessSpecifier</title> |
|
9 <shortdesc>The <cxxUnionAccessSpecifier> element describes the level of access the union allows.</shortdesc> |
|
10 <refbody> |
|
11 <section> |
|
12 <title>Description</title> |
|
13 <p>The <cxxUnionAccessSpecifier> element does not have any children. <cxxUnionAccessSpecifier> |
|
14 uses the attribute <i>value</i> to describe the level of access a union has. <i>value</i> |
|
15 can be set to "public", "protected" or "private"; the default is "public". </p> |
|
16 </section> |
|
17 <example> |
|
18 <title>Example</title> |
|
19 <codeblock><cxxUnionAccessSpecifier value="public"/></codeblock> |
|
20 </example> |
|
21 <section conref="../packagedef.dita#cxxUnionAccessSpecifier-reference/cxxUnionAccessSpecifier-containedBy-section"/> |
|
22 <section conref="../packagedef.dita#cxxUnionAccessSpecifier-reference/cxxUnionAccessSpecifier-contains-section"/> |
|
23 <section conref="../packagedef.dita#cxxUnionAccessSpecifier-reference/cxxUnionAccessSpecifier-contentModel-section"/> |
|
24 <section conref="../packagedef.dita#cxxUnionAccessSpecifier-reference/cxxUnionAccessSpecifier-attList-section"/> |
|
25 <section conref="../packagedef.dita#cxxUnionAccessSpecifier-reference/cxxUnionAccessSpecifier-classValue-section"/> |
|
26 </refbody> |
|
27 </reference> |