You can generate C++ code from a UML model.
Using the C++ transformation to generate UML visualization diagrams
You can generate UML visualization diagrams when you run the C++ transformation. Use UML visualization diagrams to view a graphical representation of your C++ code that you can edit at a graphical or code level.Specifying overwrite options for files generated by the C++ transformation
You can specify whether the C++ transformation overwrites existing files in the target location that have the same name as files that the transformation generates. You can choose to accept or decline each time that the transformation will overwrite a file, to always overwrite files, or to never overwrite files.Applying the C++ transformation profile
You can use the C++ transformation profile to control how the C++ transformation generates code from a UML model.Specifying the format of C++ code generated by the C++ transformation
Code templates are editable strings that you can use to specify formatting such as the white space and indentation of generated C++ code. You can also use code templates to control the actual code that the C++ transformation generates at a basic level. For example, you can use a code template that replaces tags in the header of a class with values for the name and body of the class.Specifying how the C++ transformation generates standard operations
Standard operations are constructors, copy constructors, destructors, and assignment operators. You can specify which of the standard operations are generated by the C++ transformation.Applying the C++ transformation
You can use the C++ transformation to convert your UML model to C++ code.
Related concepts
C++ transformation
C++ transformation templates
C++ transformation profile
Related reference
Installed transformations