|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!-- |
|
3 Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
4 All rights reserved. |
|
5 --> |
|
6 <!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd"> |
|
7 <reference xml:lang="en-us" outputclass="element" id="cxxDefineDefinition"> |
|
8 <title>cxxDefineDefinition</title> |
|
9 <shortdesc>The <cxxDefineDefinition> element is defined within <cxxDefineDetail>. |
|
10 <cxxDefineDefinition> represents the C++ define declaration.</shortdesc> |
|
11 <refbody> |
|
12 <section> |
|
13 <title>Description</title> |
|
14 <p>A define declaration specifies a new named reference type. |
|
15 A define declaration can include <i>public</i> members which is |
|
16 represented by the <cxxDefineAccessSpecifier> element.</p> |
|
17 </section> |
|
18 <example> |
|
19 <title>Example</title> |
|
20 <codeblock><cxxDefineDefinition> |
|
21 <cxxDefineAccessSpecifier value="public"/> |
|
22 <cxxDefinePrototype>#define ENABLE_NETWORKING_PERFMETRICS</cxxDefinePrototype> |
|
23 <cxxDefineNameLookup>ENABLE_NETWORKING_PERFMETRICS</cxxDefineNameLookup> |
|
24 <cxxDefineParameters/> |
|
25 <cxxDefineAPIItemLocation> |
|
26 <cxxDefineDeclarationFile name="filePath" value="C:/EPOC/master/sf/os/commsfw/src/cfperfmetrics.cpp"/> |
|
27 <cxxDefineDeclarationFileLine name="lineNumber" value="17"/> |
|
28 </cxxDefineAPIItemLocation> |
|
29 </cxxDefineDefinition></codeblock> |
|
30 </example> |
|
31 <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-containedBy-section"/> |
|
32 <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-contains-section"/> |
|
33 <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-contentModel-section"/> |
|
34 <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-attList-section"/> |
|
35 <section conref="../packagedef.dita#cxxDefineDefinition-reference/cxxDefineDefinition-classValue-section"/> |
|
36 </refbody> |
|
37 </reference> |