You can use the C++ transformation templates to control the appearance of the code that the C++ transformation generates.
You use the templates to specify formatting for the generated code, such as white space and indentation. Templates are stored in the Eclipse workspace and can be shared, imported, and exported. Exporting a template creates an XML file that you can import from another workspace.
You can revert to the default C++ transformation templates.
Related tasks
Generating C++ code from a model