Learn about UML-to-C++ transformations, the UML-to-C++
transformation profile, and when to use mapping models.
UML-to-C++ transformations This content applies to version 7.5.4 or later. The
UML-to-C++ transformation transforms UML model elements into C++ code.
Reverse transformations: C++ to UML
When you create a UML-to-C++
transformation configuration and enable the Reconciled
Modeling design
contract management protocol (DCMP), the C++-to-UML transformation
is automatically enabled. Reverse transformations enable you to reconcile
changes in an iterative development process.
About mapping models You
can specify alternate file names for any of the files and folders that a transformation
generates by creating a mapping model. You can specify alternate names if
you want to include code-specific details such as naming restrictions in platform-specific
models, or if the logical organization of the source model is not appropriate
as target packaging.
UML-to-C++ transformation profile The UML-to-C++ transformation
profile contains several stereotypes that you can use to mark up your
UML model and to control how the transformation transforms each model
element into C++ code. The stereotypes of the profile become available
when you apply the profile to your source model.