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

Managed C++ Conventions

The following conventions are used for managed extensions to C++ prior to C++/CLI. In order to set the system to generate managed C++ you must modify the C++ version in the C++ Options.

Stereotypes

Stereotype

Applies To

Corresponds To

property

Operation

 

The __property keyword.

property get

Operation

 

The __property keyword and a read property.

property set

Operation

 

The __property keyword and a write property.

reference

Class

 

The __gc keyword.

value

Class

 

The __value keyword.

 
Tagged Values

Tag

Applies To

Corresponds To

managedType

Class with stereotype reference, value or enumeration; Interface

 

The keyword used in declaration of this type; expected values are class or struct.

Other Conventions

The typedef and anonymous tags from native C++ are not supported
The Pure property of an operation corresponds to the keyword __abstract
 

Learn more