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 C++ profile become available when you apply the profile to your source model.

You can apply the stereotypes of the UML-to-C++ transformation profile to model elements in your source model to specify how the transformation generates C++ code. For example, when you apply the <<cpp_struct>> stereotype to a class in the model, the transformation generates a struct object.

You should not apply more than one stereotype to a model element. The transformation creates only one C++ object for each model element, regardless of how many stereotypes you apply.

Related tasks
Generating C++ code from UML models
Applying the UML-to-C++ transformation profile
Related reference
Installed transformations
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.