The XML Code Template Engine produces class code skeletons that can include equality and logging methods in C++ or Java(so far) from an XML document outlining. It also creates Doxygen compatible comments and a has very simple plugin system.
Jostraca is a general purpose code generation toolkit for software developers, using a syntax similar to JSP. Jostraca can be extended to generate code in any language, using any language, while placing no restrictions on software design.