Properties that UML-to-C++ transformations transform

The UML-to-C++ transformation generates C++ elements from UML properties.

The following table lists the UML property of the source model and the corresponding C++ element that the transformation generates.

UML property C++ element
Name New member variable with the specified name
Visibility Visibility of the attribute
Type Type of the member
Is Static Class scope of the attribute
Is Read Only Const keyword
Default Value Initial value of the attribute

The transformation adds to the inclusion list data types that the class attributes use.


Feedback