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