Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

C++ Transformation

The C++ transformation converts Platform-Independent Model (PIM) elements to language-specific C++ Class elements.

The transformation converts the PIM model types to C++ types and creates encapsulation according to your options for creating properties from C++ attributes; that is, producing the getters and setters according to the rules you have defined on the C++ Specifications page of the Options dialog. Note that the public attributes in the PIM are converted to private attributes in the PSM. All operations in the interface are transformed into pure virtual methods.

Example

The Platform-Independent Model (PIM)

CPP PIM

 

After transformation, becomes the PSM

CPP PSM

Learn more