Describes the location of a function in the original C++ source code.
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>
cxxFunctionDeclarationFile cxxFunctionDeclarationFileLine cxxFunctionDefinitionFile cxxFunctionDefinitionFileLineEnd cxxFunctionDefinitionFileLineStart
(cxxFunctionDeclarationFile then cxxFunctionDeclarationFileLine then cxxFunctionDefinitionFile (optional) then cxxFunctionDefinitionFileLineStart (optional) then cxxFunctionDefinitionFileLineEnd (optional) )