--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/DITA-OT_CXX_Plugin/cxxapiref/doc/cxxFunction/cxxFunction.dita Wed Aug 11 14:49:30 2010 +0100
@@ -0,0 +1,69 @@
+<?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="cxxFunction">
+ <title>cxxFunction</title>
+ <shortdesc>Contains all the elements needed to describe the declaration of a C++ function (or <i>member</i> function).</shortdesc>
+ <refbody>
+ <section id="section_B20A7D521E3842829C774491FDD670A5">
+ <title>Description</title><p>The <tt><cxxFunction></tt> 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 from internal applications
+that refer to the <tt><cxxFunctiion></tt> element content. The elements <tt><apiName></tt>
+and <tt><cxxFunctionDetail></tt> are required for this top-level container.
+ </p><p>
+ <?xm-replace_text Paragraph ?>
+ </p>
+ </section>
+ <example id="example_F38D1539002D4528B2FBC2B42EB2AECA">
+ <title>Example</title><p>The following illustrates a typical (global) function:</p>
+ <codeblock><cxxFunction id="test__class_8h_1a27a789a5aabed6e0e0d79ce0fd02b937">
+ <apiName>SearchBuffer</apiName>
+ <cxxFunctionDetail>
+ <cxxFunctionDefinition>
+ <cxxFunctionAccessSpecifier value="public"/>
+ <cxxFunctionStorageClassSpecifierStatic/>
+ <cxxFunctionDeclaredType>int</cxxFunctionDeclaredType>
+ <cxxFunctionScopedName/>
+ <cxxFunctionPrototype>static int SearchBuffer(const char *aBuffer, char c, int i)</cxxFunctionPrototype>
+ <cxxFunctionNameLookup>SearchBuffer(const char *,char,int)</cxxFunctionNameLookup>
+ <cxxFunctionParameters>
+ <cxxFunctionParameter>
+ <cxxFunctionParameterDeclaredType>const char *</cxxFunctionParameterDeclaredType>
+ <cxxFunctionParameterDeclarationName>aBuffer</cxxFunctionParameterDeclarationName>
+ <apiDefNote>The buffer to search. </apiDefNote>
+ </cxxFunctionParameter>
+ <cxxFunctionParameter>
+ <cxxFunctionParameterDeclaredType>char</cxxFunctionParameterDeclaredType>
+ <cxxFunctionParameterDeclarationName>c</cxxFunctionParameterDeclarationName>
+ <apiDefNote>the character to search for. </apiDefNote>
+ </cxxFunctionParameter>
+ <cxxFunctionParameter>
+ <cxxFunctionParameterDeclaredType>int</cxxFunctionParameterDeclaredType>
+ <cxxFunctionParameterDeclarationName>i</cxxFunctionParameterDeclarationName>
+ <apiDefNote>The start position. </apiDefNote>
+ </cxxFunctionParameter>
+ </cxxFunctionParameters>
+ <apiDefNote>The index in the buffer or -1 if not found or i is &gt;= the buffer length. </apiDefNote>
+ <cxxFunctionAPIItemLocation>
+ <cxxFunctionDeclarationFile name="filePath" value="C:/wip/sysdoc/tools/Doxygen/branches/DITA/test/PaulRo/cxxApiExamples/src/test_class.h"/>
+ <cxxFunctionDeclarationFileLine name="lineNumber" value="14"/>
+ </cxxFunctionAPIItemLocation>
+ </cxxFunctionDefinition>
+ <apiDesc>
+ <p>Searches a buffer for a character from a start position in the buffer. </p>
+ </apiDesc>
+ </cxxFunctionDetail>
+</cxxFunction>
+ </codeblock>
+ </example>
+ <section conref="../packagedef.dita#cxxFunction-reference/cxxFunction-containedBy-section"/>
+ <section conref="../packagedef.dita#cxxFunction-reference/cxxFunction-contains-section"/>
+ <section conref="../packagedef.dita#cxxFunction-reference/cxxFunction-contentModel-section"/>
+ <section conref="../packagedef.dita#cxxFunction-reference/cxxFunction-attList-section"/>
+ <section conref="../packagedef.dita#cxxFunction-reference/cxxFunction-classValue-section"/>
+ </refbody>
+</reference>