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 > Modeling C++ code in Modeler > Setting up the model for generating C++ code (C++ code)
  
Setting up the model for generating C++ code (C++ code)
In addition to the standard Model properties in Modeler, you can apply the «C++ Package» stereotype to the Model, 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?
2. Set the standard properties of the Model as required. Tell me more...
3. Apply the «C++ Package» stereotype to the Model.
For information about applying Stereotypes to an item, see Applying a Stereotype to a model item.
4. Open the Model's Property Pages, and then click the C++ Package tab.
For information about applying Stereotypes to an item, see Applying a Stereotype to a model item.
5. If you want to add #include statements and forward declarations to the generated header file, specify the text as the tagged value of the C++ Header Include tag definition.
6. If you want to add #include statements and forward declarations to the generated implementation file, specify the text as the tagged value of the C++ Implementation Include tag definition.