Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > C++ code > Generating C++ code > Generating C++ code > Mapping Information > Mapping information for state diagrams > Generalization mapping for C++ (C++ code)
  
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.