The UML to C++ transformation transforms UML 2.0 specifications to C++
source code. You can use the transformation to generate a new C++ project
or you can merge the generated C++ sources into an existing C++ project.
UML to C++ transformation documentation