-code generator using gccxml and libxml++
+code generator using castxml and libxml++
for example usage take a look at the libt2n-example package
group header file for include file dependencies:
- simple
-- i don't see a solution using gccxml
+- i don't see a solution using castxml
- better than extracting all the includes from the file and adding them to the generated code
#include <command.hxx>
#ifdef __castxml__
-// used during parsing run with gccxml
+// used during parsing run with castxml
/** @brief mark a function to export it via libt2n
@par Example
}
if (argc < 3)
{
- std::cerr << "Usage: " << argv[0] << "default-group gccxml-file1 gccxml-file2 ... " << std::endl;
+ std::cerr << "Usage: " << argv[0] << "default-group castxml-file1 castxml-file2 ... " << std::endl;
return 1;
}
# undefined via #undef or recursively expanded use the := operator
# instead of the = operator.
-PREDEFINED = __GCCXML__
+PREDEFINED = __castxml__
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.
\par libt2n
- boost <http://www.boost.org/> (serialization <http://www.boost.org/libs/serialization/>)
\par libt2n-codegen
- - gccxml <http://www.gccxml.org>
+ - castxml <https://github.com/CastXML/CastXML>
- libxmlpp <http://libxmlplusplus.sourceforge.net/>
\par client-wrapper
- boost <http://www.boost.org/> (bind <http://www.boost.org/libs/bind/>, function <http://www.boost.org/libs/function/>)
- \anchor notes3
[3] Figure: Remote procedure call overview, http://jan.newmarch.name/webservices/rpc_stub.png , Jan Newmarch "Web services" http://jan.newmarch.name/webservices/tutorial.html
- \anchor notes4
- [4] in fact gccxml is used to parse the C++ code and the XML output of gccxml is used as input for the code generator
+ [4] in fact castxml is used to parse the C++ code and the XML output of castxml is used as input for the code generator
- \anchor notes5
[5] interface description language (IDL), http://en.wikipedia.org/wiki/Interface_description_language
- \anchor notes6