Summary of mappings for C (C code)
This table provides a summary of how Modeler item types map to C code.
For summary information about how State Diagrams are generated, see Summary of mappings for C (C code)
For more information about a mapping, click the associated button.
Modeler
C Code
Association
Data members of a struct
Aggregation
Data members of a struct
Attribute
Attribute as a global or within the struct definition
Basic type
Type
Class
Header and implementation files for struct
Data Type
Header and implementation files for struct
Dependency
#Includes
Exception
Not generated
Event (in Operation body)
Notification call
Generalization
List of base structs for each specialization struct
Interface
Header file for struct
Model
Header and implementation files if required
Operation
Function as a global or within the struct definition
Package
Subfolder of the root directory, and header and implementation files if required.
Role
Data members of a struct
Signal
Header and implementation files for struct
State Diagram
For more information, click the button to the left
Template Class
Not generated
Template Specialization Class
Not generated
Type definition
Type
Union
Header and implementation files for Union