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="cxxVariableAccessSpecifier"> |
|
8 <title>cxxVariableAccessSpecifier</title> |
|
9 <shortdesc>The <cxxVariableAccessSpecifier> element specifies the level of access the variable has.</shortdesc> |
|
10 <refbody> |
|
11 <section> |
|
12 <title>Description</title> |
|
13 <p>The <cxxVariableAccessSpecifier> element must contain the attributes <i>name</i> and <i>value</i>. By |
|
14 default <i>name</i> is set to "access" and cannot be altered. The <i>value</i> attribute can be one of three |
|
15 values, public, protected and private. The default for <i>value</i> is "public".</p> |
|
16 <p><cxxVariableAccessSpecifier> has no child elements.</p> |
|
17 </section> |
|
18 <example> |
|
19 <title>Example</title> |
|
20 <codeblock><cxxVariableAccessSpecifier value="private" /></codeblock> |
|
21 </example> |
|
22 <section conref="../packagedef.dita#cxxVariableAccessSpecifier-reference/cxxVariableAccessSpecifier-containedBy-section"/> |
|
23 <section conref="../packagedef.dita#cxxVariableAccessSpecifier-reference/cxxVariableAccessSpecifier-contains-section"/> |
|
24 <section conref="../packagedef.dita#cxxVariableAccessSpecifier-reference/cxxVariableAccessSpecifier-contentModel-section"/> |
|
25 <section conref="../packagedef.dita#cxxVariableAccessSpecifier-reference/cxxVariableAccessSpecifier-attList-section"/> |
|
26 <section conref="../packagedef.dita#cxxVariableAccessSpecifier-reference/cxxVariableAccessSpecifier-classValue-section"/> |
|
27 </refbody> |
|
28 </reference> |