Setting up enumerations for generating C code (C code)
In addition to the standard Type Definition properties in Modeler, you can apply the «C Enumeration» stereotype to a Type Definition, and then use its Tag Definitions to define C specific information.
1. If you have not done so already, add the C Profile package to your Model.
How?
3. Apply the «C Enumeration» stereotype to the Enumeration.
For information about applying Stereotypes to an item, click here
![](../../Integrity_Modeler/images/btn_mini_294.gif)
4. Open the Enumeration's Property Pages, and then click the C Enumeration tab.
For information about setting the tagged value of a Tag Definition, click here
![](../../Integrity_Modeler/images/btn_mini_294.gif)
5. If you want the Enumeration to be generated inline, set the tagged value of the C Anonymous Item tag definition to TRUE.