<?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="cxxVariable">
<title>cxxVariable</title>
<shortdesc>The <cxxVariable> element contains the elements necessary to describe a variable.</shortdesc>
<refbody>
<section>
<title>Description</title>
<p>The <cxxVariable> element requires the <i>id</i> attribute so that it can be referenced
by other topics. <cxxVariable> also requires an <apiname> element to specify the variable
name, the the <cxxVariableDetail> element to hold the variable description.</p>
</section>
<example>
<title>Example</title>
<codeblock><cxxClass id="a_class">
<apiName>AClass</apiName>
<cxxClassDetail>
...
</cxxClassDetail>
<cxxFunction id="a_class_1a0cd89cbef4c7224dab024bfa3182b99e">
...
</cxxFunction>
<cxxVariable id="a_class_1ae0375">
<apiName>iFunctions</apiName>
<cxxVariableDetail>
<cxxVariableDefinition>
<cxxVariableAccessSpecifier value="protected"/>
<cxxVariableDeclaredType>
<apiRelation href="a_class_general_functions.xml#class_m_anim_general_functions">MAnimGeneralFunctions</apiRelation> *</cxxVariableDeclaredType>
<cxxVariableScopedName>CAnim</cxxVariableScopedName>
<cxxVariablePrototype>MAnimGeneralFunctions * iFunctions</cxxVariablePrototype>
<cxxVariableNameLookup>CAnim::iFunctions</cxxVariableNameLookup>
<cxxVariableAPIItemLocation>
<cxxVariableDeclarationFile name="filePath" value="C:/src/include/w32adll.h"/>
<cxxVariableDeclarationFileLine name="lineNumber" value="908"/>
</cxxVariableAPIItemLocation>
</cxxVariableDefinition>
<apiDesc>
<p>Pointer to a class containing functions implemented by the window server.</p>
<p>These are available to any <xref href="a_class.xml#a_class">CAnim</xref> derived class.</p>
<p>Note that this value is automatically set for you by the animation framework. You do not need to assign a value to this pointer.</p>
</apiDesc>
</cxxVariableDetail>
</cxxVariable>
<cxxClassInherits>
...
</cxxClassInherits>
</cxxClass></codeblock>
</example>
<section conref="../packagedef.dita#cxxVariable-reference/cxxVariable-containedBy-section"/>
<section conref="../packagedef.dita#cxxVariable-reference/cxxVariable-contains-section"/>
<section conref="../packagedef.dita#cxxVariable-reference/cxxVariable-contentModel-section"/>
<section conref="../packagedef.dita#cxxVariable-reference/cxxVariable-attList-section"/>
<section conref="../packagedef.dita#cxxVariable-reference/cxxVariable-classValue-section"/>
</refbody>
</reference>