Summary of mappings for C++ (C++ code)
This table provides a summary of how Modeler item types map to C++ code when generated through ACS.
For summary information about how State Diagrams are generated, see Cpprev Summary of state diagram mappings for C.
For more information about a mapping, click the associated button.
Modeler
C++ Code
Association (includes Aggregation and Role)
Data members of a class.
Attribute
Attribute as a global or within the class definition.
Basic type
Type.
Class
Header and implementation files for class.
Data Type
Header and implementation files for struct.
Dependency
#Includes.
Event (in Operation body)
Event's Operation handler or notification call
Exception
Not generated.
Generalization
List of base classes for each specialization.
Interface
Header file for interface.
Model
Header and implementation files if required.
Operation
Operation as a global or within the class definition.
Package (folder)
Subfolder of the root directory, and header and implementation files if required.
Package (namespace)
Namespace, and header and implementation files if required.
Package (namespace)
Namespace, and header and implementation files if required.
Port (namespace)
Initializer or local class.
Signal
Header file for signal.
State Diagram
For more information, click the button to the left.
Template Specialization Class
Template specialization.
Type definition
Type.
Union
Header and implementation files for Union.
Was this helpful?