Generalization mapping for C (C code)
If a Class, Data Type, Interface or Signal owns Generalizations that define inheritance, the attributes of that item are rolled down. Rolled down attributes are indicated in the generated code through comments.
Example code:
struct Class3
{
/* Start of RtS Rolled Down Items */
int Attribute1;
int Attribute2;
/* End of RtS Rolled Down Items */
int Attribute3;
};
The properties of a Generalization are ignored.
|
If a derived Class, Data Type, Interface or Signal is stereotyped by the «C Module», base members are not rolled down.
|