<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
-->
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference xml:lang="en-us" outputclass="element" id="cxxEnumerationDefinition">
<title>cxxEnumerationDefinition</title>
<shortdesc>The <cxxEnumerationDefinition> element is defined within <cxxEnumerationDetail>.
<cxxEnumerationDefinition> represents the C++ enumeration declaration.</shortdesc>
<refbody>
<section>
<title>Description</title><p>An enumeration declaration specifies a new named reference type.
An enumeration declaration can include the following members: <i>public</i>, <i>protected</i>
or <i>private</i>, this is represented by the <cxxEnumerationAccessSpecifier> element.</p>
<p><cxxEnumerationDefinition> requires the element <cxxEnumerationAPIItemLocation> as its child.</p>
</section>
<example><title>Example</title>
<codeblock><cxxEnumerationDefinition>
<cxxEnumerationAccessSpecifier value="public"/>
<cxxEnumerationAPIItemLocation>
<cxxEnumerationDeclarationFile name="filePath" value="C:/src/include/e32base.h"/>
<cxxEnumerationDeclarationFileLine name="lineNumber" value="2812"/>
<cxxEnumerationDefinitionFile name="filePath" value="C:/src/include/e32base.h"/>
<cxxEnumerationDefinitionFileLineStart name="lineNumber" value="2784"/>
<cxxEnumerationDefinitionFileLineEnd name="lineNumber" value="2854"/>
</cxxEnumerationAPIItemLocation>
</cxxEnumerationDefinition></codeblock>
</example>
<section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-containedBy-section"/>
<section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-contains-section"/>
<section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-contentModel-section"/>
<section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-attList-section"/>
<section conref="../packagedef.dita#cxxEnumerationDefinition-reference/cxxEnumerationDefinition-classValue-section"/>
</refbody>
</reference>