Dependency mapping for C (C code)
For each Dependency, ACS can generate #includes for the header and implementation files created for the Class, Data Type, Interface, Signal or Package at the source end of the Dependency. The target of the #include is the header file generated for the Class, Data Type, Interface, Signal or Package at the target end of the Dependency.
The generation of #includes is derived from the properties of the Dependency and the values set for the Tag Definitions applied by the «C Dependency» stereotype.
Tag Definitions:
The following tag definitions are applied to a Dependency by the «C Dependency» stereotype:
• If the tagged value of the C In Implementationtag definition is set to TRUE, a #include is generated only in the implementation file. If the tagged value is set to FALSE, a #include is generated in only the header file.
• If the tagged value of the C Is Systemtag definition is set to TRUE, the #include uses angle brackets rather than inverted commas.
If the «C Ignore» stereotype is applied to a Dependency, no #include statements are generated for that Dependency.