<?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="cxxVariableDefinition">
<title>cxxVariableDefinition</title>
<shortdesc>The <cxxVariableDefinition> element specifies the variable definition.</shortdesc>
<refbody>
<section>
<title>Description</title>
<p> The <cxxVariableDefinition> element is a container for many optional elements that describe a C++ variable.
All elements within <cxxVariableDefinition> are optional.
</p>
</section>
<example>
<title>Example</title>
<codeblock><cxxVariableDefinition>
<cxxVariableAccessSpecifier value="public"/>
<cxxVariableDeclaredType>
<apiRelation href="class_t_request_status.xml#class_t_request_status">TRequestStatus</apiRelation>
</cxxVariableDeclaredType>
<cxxVariableScopedName>CActive</cxxVariableScopedName>
<cxxVariablePrototype>TRequestStatus iStatus</cxxVariablePrototype>
<cxxVariableNameLookup>CActive::iStatus</cxxVariableNameLookup>
<cxxVariableAPIItemLocation>
<cxxVariableDeclarationFile name="filePath" value="C:/src/include/e32base.h"/>
<cxxVariableDeclarationFileLine name="lineNumber" value="1664"/>
</cxxVariableAPIItemLocation>
</cxxVariableDefinition></codeblock>
</example>
<section conref="../packagedef.dita#cxxVariableDefinition-reference/cxxVariableDefinition-containedBy-section"/>
<section conref="../packagedef.dita#cxxVariableDefinition-reference/cxxVariableDefinition-contains-section"/>
<section conref="../packagedef.dita#cxxVariableDefinition-reference/cxxVariableDefinition-contentModel-section"/>
<section conref="../packagedef.dita#cxxVariableDefinition-reference/cxxVariableDefinition-attList-section"/>
<section conref="../packagedef.dita#cxxVariableDefinition-reference/cxxVariableDefinition-classValue-section"/>
</refbody>
</reference>