|
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="cxxEnumerationDefinition"> |
|
8 <title>cxxEnumerationDefinition</title> |
|
9 <shortdesc>The <cxxEnumerationDefinition> element is defined within <cxxEnumerationDetail>. |
|
10 <cxxEnumerationDefinition> represents the C++ enumeration declaration.</shortdesc> |
|
11 <refbody> |
|
12 <section> |
|
13 <title>Description</title><p>An enumeration declaration specifies a new named reference type. |
|
14 An enumeration declaration can include the following members: <i>public</i>, <i>protected</i> |
|
15 or <i>private</i>, this is represented by the <cxxEnumerationAccessSpecifier> element.</p> |
|
16 <p><cxxEnumerationDefinition> requires the element <cxxEnumerationAPIItemLocation> as its child.</p> |
|
17 </section> |
|
18 <example><title>Example</title> |
|
19 <codeblock><cxxEnumerationDefinition> |
|
20 <cxxEnumerationAccessSpecifier value="public"/> |
|
21 <cxxEnumerationAPIItemLocation> |
|
22 <cxxEnumerationDeclarationFile name="filePath" value="C:/src/include/e32base.h"/> |
|
23 <cxxEnumerationDeclarationFileLine name="lineNumber" value="2812"/> |
|
24 <cxxEnumerationDefinitionFile name="filePath" value="C:/src/include/e32base.h"/> |
|
25 <cxxEnumerationDefinitionFileLineStart name="lineNumber" value="2784"/> |
|
26 <cxxEnumerationDefinitionFileLineEnd name="lineNumber" value="2854"/> |
|
27 </cxxEnumerationAPIItemLocation> |
|
28 </cxxEnumerationDefinition></codeblock> |
|
29 </example> |
|
30 <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-containedBy-section"/> |
|
31 <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-contains-section"/> |
|
32 <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-contentModel-section"/> |
|
33 <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-attList-section"/> |
|
34 <section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-classValue-section"/> |
|
35 </refbody> |
|
36 </reference> |