Specifying how the UML-to-C++ transformation generates standard operations

Standard operations are constructors, copy constructors, destructors, and assignment operators. When you apply the UML-to-C++ transformation to your source model, you can specify which of the standard operations the transformation generates.

Before you apply the UML-to-C++ transformation, you should read the information that is available at Modeling > Transform > Configure Transformations. 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 specify how the C++ transformation generates standard operations:
  1. Click Window > Preferences.
  2. Expand Modeling, expand Transformations, and click UML to C++ Transformation.
  3. Click the General tab.
  4. On the General page, select the check boxes beside the operations that you want the C++ transformation to generate.
  5. Click OK.
The selected operations are generated the next time that you run this transformation configuration.
Related concepts
UML-to-C++ transformation
UML-to-C++ transformation templates
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.