Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
C++ Conventions
Enterprise Architect supports round trip engineering of C++, including the Managed C++ and C++/CLI extensions, where the following conventions are used.
Reference
Stereotypes
Stereotype |
Applies To |
Corresponds To |
---|---|---|
enumeration |
Class |
An enum type. |
friend |
Operation |
The friend keyword. |
property get |
Operation |
A read property. |
property set |
Operation |
A write property. |
struct |
Class |
A struct type. |
typedef |
Class |
A typedef statement, where the parent is the original type name. |
union |
Class |
A union type. |
Tagged Values
Tag |
Applies To |
Corresponds To |
---|---|---|
afx_msg |
Operation |
The afx_msg keyword. |
anonymous |
Class also containing the Tagged Value typedef |
The name of this Class being only defined by the typedef statement. |
attribute_name |
Operation with stereotype property get or property set |
The name of the variable behind this property. |
bitfield |
Attribute |
The size, in bits, allowed for storage of this attribute. |
bodyLocation |
Operation |
The location the method body is generated to; expected values are header, classDec or classBody. |
callback |
Operation |
A reference to the CALLBACK macro. |
explicit |
Operation |
The explicit keyword. |
initializer |
Operation |
A constructor initialization list. |
inline |
Operation |
The inline keyword and inline generation of the method body. |
mutable |
Attribute |
The mutable keyword. |
throws |
Operation |
The exceptions that are thrown by this method. |
typedef |
Class with stereotype other than typedef |
This Class being defined in a typedef statement. |
typeSynonyms |
Class |
The typedef name and/or fields of this type. |
volatile |
Operation |
The volatile keyword. |
Topics
Topic |
Detail |
See also |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Other Conventions |
|
Learn more