Model mapping for C++ (C++ code)
If the Model directly owns Attributes, Operations or Type Definitions, ACS generates a header and implementation file for the Model. The header and implementation files declare and define the Model's Attributes, Operations and Type Definitions, and are derived from the properties and the tagged values set for Tag Definitions that are applied by the «C++ Package» stereotype.
Properties:
• The Name property is generated as the name of the header and implementation files.
| ACS may modify the model name that is added to the code to make it valid for C++. You can specify the exact model name to add to the code through the CODE_GENERATION_NAME property of the Model.
Tell me more... |
Child items:
• If the Model directly owns Basic Types, the Basic Types are ignored.
Tag Definitions:
• If the tagged value of the C++ Header Include tag definition has been set, the value is generated at the beginning of the header file so that you can generate your own #includes to files.
• If the tagged value of the C++ Implementation Include tag definition has been set, the value is generated at the beginning of the implementation file so that you can generate your own #includes to files.