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 . 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:
- Click .
- Expand Modeling, expand Transformations,
and click UML to C++ Transformation.
- Click the General tab.
- On the General page, select the check boxes
beside the operations that you want the C++ transformation to generate.
- Click OK.
The selected operations are generated the next time that you run this
transformation configuration.