<?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="cxxDefineDefinition">
<title>cxxDefineDefinition</title>
<shortdesc>The <cxxDefineDefinition> element is defined within <cxxDefineDetail>.
<cxxDefineDefinition> represents the C++ define declaration.</shortdesc>
<refbody>
<section>
<title>Description</title>
<p>A define declaration specifies a new named reference type.
A define declaration can include <i>public</i> members which is
represented by the <cxxDefineAccessSpecifier> element.</p>
</section>
<example>
<title>Example</title>
<codeblock><cxxDefineDefinition>
<cxxDefineAccessSpecifier value="public"/>
<cxxDefinePrototype>#define ENABLE_NETWORKING_PERFMETRICS</cxxDefinePrototype>
<cxxDefineNameLookup>ENABLE_NETWORKING_PERFMETRICS</cxxDefineNameLookup>
<cxxDefineParameters/>
<cxxDefineAPIItemLocation>
<cxxDefineDeclarationFile name="filePath" value="C:/EPOC/master/sf/os/commsfw/src/cfperfmetrics.cpp"/>
<cxxDefineDeclarationFileLine name="lineNumber" value="17"/>
</cxxDefineAPIItemLocation>
</cxxDefineDefinition></codeblock>
</example>
<section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-containedBy-section"/>
<section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-contains-section"/>
<section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-contentModel-section"/>
<section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-attList-section"/>
<section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-classValue-section"/>
</refbody>
</reference>