Generalization mapping for C++ (C++ code)
ACS generates a list of base classes or structs for each specialization on a class or struct, which is derived from the properties of the Generalization:
• If Generalization is
Private Access, the private keyword is used.
Example code
• If Generalization is not
Private Access, the public keyword is used.
Example code
• If Generalization is a
Virtual Base Class, the virtual keyword is used.
Example code Tag Definitions:
The following tag definitions are applied to a Generalization by the «C++ Specialization» stereotype:
• If the tagged value of the C++ Actual Template Parameters tag definition has been set, the value is used to generate the text between the angle brackets when the superclass is a template class.