Applying the UML-to-C++ transformation profile

When you create a UML model, you can apply a profile to the model to control how the transformation generates code or artifacts. Adding a profile enables you to model additional elements that you cannot model with UML elements.

You must be in the Modeling perspective.

To apply the transformation profile:

  1. From the Deployed Profile list, select the appropriate profile.
  2. In the Properties view, click the Profiles tab.
  3. On the Profiles page, click Add Profile.
  4. In the Select Profile window, click Deployed Profile.
  5. From the Deployed Profile list, select C++ Transformation.
  6. Click OK.
  7. Click File > Save.
After you apply the UML-to-C++ transformation profile, you can apply the stereotypes in this profile to model elements.
Related concepts
UML-to-C++ transformation profile
Related reference
Interpretation of UML model elements by UML-to-C++ transformations
Stereotypes of the UML-to-C++ transformation profile
Related information
Validating UML models and diagrams

Feedback