<?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="cxxClassDefinition">
<title>cxxClassDefinition</title>
<shortdesc>The <cxxClassDefinition> element is defined within <cxxClassDetail>.
<cxxClassDefinition> represents the C++ class declaration.</shortdesc>
<refbody>
<section>
<title>Description</title><p>A class declaration specifies a new named reference type.
A class declaration can include the following members: <i>public</i>, <i>protected</i>
or <i>private</i>, this is represented by the <cxxClassAccessSpecifier> element.</p>
<p><cxxClassDefinition> requires the element <cxxClassAPIItemLocation< as it's child.</p>
</section>
<example><title>Example</title>
<codeblock><cxxClassDefinition>
<cxxClassAccessSpecifier value="public"/>
<cxxClassDerivations>
<cxxClassDerivation>
<cxxClassDerivationAccessSpecifier value="public"/>
<cxxClassBaseClass href="class_c_base.xml#class_c_base">CBase</cxxClassBaseClass>
</cxxClassDerivation>
</cxxClassDerivations>
<cxxClassAPIItemLocation>
<cxxClassDeclarationFile name="filePath" value="C:/src/include/e32base.h"/>
<cxxClassDeclarationFileLine name="lineNumber" value="2812"/>
<cxxClassDefinitionFile name="filePath" value="C:/src/include/e32base.h"/>
<cxxClassDefinitionFileLineStart name="lineNumber" value="2784"/>
<cxxClassDefinitionFileLineEnd name="lineNumber" value="2854"/>
</cxxClassAPIItemLocation>
</cxxClassDefinition></codeblock>
</example>
<section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-containedBy-section"/>
<section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-contains-section"/>
<section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-contentModel-section"/>
<section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-attList-section"/>
<section conref="../packagedef.dita#cxxClassDefinition-reference/cxxClassDefinition-classValue-section"/>
</refbody>
</reference>