You can use the UML-to-C++ transformation profile to control how
the UML-to-C++ transformation generates code from a UML model.
Before you apply the UML-to-C++ transformation, you should read the
information that is available at . From the
Transformations/Configurations list,
select
UML to C++. On the
Transformation
Description page, click
View Transformation Documentation.
You
must be in the Modeling perspective.
To apply the UML-to-C++ transformation profile:
- In the Model Explorer view, click a model.
- In the Properties view, click the Profiles tab.
- On the Profiles page, click Add
Profile.
- In the Select Profile window, click Deployed
Profile.
- From the Deployed Profile list, select C++
Transformation.
- Click OK.
- Click OK.