<?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="cxxDefine">
<title>cxxDefine</title>
<shortdesc>The <cxxDefine> element provides the name of the C++ API
define, all the elements necessary to describe the members that are introduced
by the define declaration.</shortdesc>
<refbody>
<section>
<title>Description</title>
<p>The <cxxDefine> element requires
an id attribute as an anchor point; this id must always be specified. The
id attribute is referenced by the <i>conref</i> attribute and internal applications
that refer to the <cxxDefine> element content. The elements <apiName>
and <cxxDefineDetail> are required for this top-level container. </p>
</section>
<example>
<title>Example</title>
<codeblock><cxxFile id="cfperfmetrics_8cpp">
<apiName>cfperfmetrics.cpp</apiName>
<cxxDefine id="cfperfmetrics_8cpp_1aaf45a4d8cdebb244b0f01672cd981fb2">
<apiName>SYMBIAN_ENABLE_NETWORKING_PERFMETRICS</apiName>
<cxxDefineDetail>
<cxxDefineDefinition>
<cxxDefineAccessSpecifier value="public"/>
<cxxDefinePrototype>#define SYMBIAN_ENABLE_NETWORKING_PERFMETRICS</cxxDefinePrototype>
<cxxDefineNameLookup>SYMBIAN_ENABLE_NETWORKING_PERFMETRICS</cxxDefineNameLookup>
<cxxDefineParameters/>
<cxxDefineAPIItemLocation>
<cxxDefineDeclarationFile name="filePath" value="C:/EPOC/master/sf/os/commsfw/commsfwsupport/commselements/commsfw/src/cfperfmetrics.cpp"/>
<cxxDefineDeclarationFileLine name="lineNumber" value="17"/>
</cxxDefineAPIItemLocation>
</cxxDefineDefinition>
<apiDesc/>
</cxxDefineDetail>
</cxxDefine>
<cxxVariable id="cfperfmetrics_8cpp_1a8b57c8f405cbc5de5ad9caf2e1610d0f">
...
</cxxVariable>
<cxxEnumeration id="cfperfmetrics_8cpp_1a3a00212a28f7e4e2af6d5d57db53f4d3">
...
</cxxEnumeration>
<cxxFileAPIItemLocation>
<cxxFileDeclarationFile name="filePath" value="C:/EPOC/master/sf/os/commsfw/commsfwsupport/commselements/commsfw/src/cfperfmetrics.cpp"/>
</cxxFileAPIItemLocation>
</cxxFile></codeblock>
</example>
<section conref="../packagedef.dita#cxxDefine-reference/cxxDefine-containedBy-section"/>
<section conref="../packagedef.dita#cxxDefine-reference/cxxDefine-contains-section"/>
<section conref="../packagedef.dita#cxxDefine-reference/cxxDefine-contentModel-section"/>
<section conref="../packagedef.dita#cxxDefine-reference/cxxDefine-attList-section"/>
<section conref="../packagedef.dita#cxxDefine-reference/cxxDefine-classValue-section"/>
</refbody>
</reference>