diff -r d8fccb2cd802 -r 468f4c8d3d5b DITA-OT_CXX_Plugin/cxxapiref/doc/cxxFunction/cxxFunctionAPIItemLocation.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DITA-OT_CXX_Plugin/cxxapiref/doc/cxxFunction/cxxFunctionAPIItemLocation.dita Wed Aug 11 14:49:30 2010 +0100 @@ -0,0 +1,45 @@ + + + + + cxxFunctionAPIItemLocation + Describes the location of a function in the original C++ source code. + +
+ Description

Describes the location of a function in the original C++ source code.

+
+ + Example

Given this code in inc/a.h:

+ /** +@param aBuf The buffer +*/ +void g(const char* aBuf=0); +

And this code in src/a.cpp:

+ #include "a.h" + +void g(const char* aBuffer) +{ + // Implementation +} + +

Then function g would have the cxxFunctionAPIItemLocation +element:

+ <cxxFunctionAPIItemLocation> + <cxxFunctionDeclarationFile name="filePath" value="inc/a.h"/> + <cxxFunctionDeclarationFileLine name="lineNumber" value="5"/> + <cxxFunctionDefinitionFile name="filePath" value="src/a.cpp"/> + <cxxFunctionDefinitionFileLineStart name="lineNumber" value="4"/> + <cxxFunctionDefinitionFileLineEnd name="lineNumber" value="7"/> +</cxxFunctionAPIItemLocation> + +
+
+
+
+
+
+ +