Further customization of code formatting

In addition to the basic formatting options, you can further customize the formatting of generated C and C++ code by using the properties that are found under C_CG::WriterTemplates and CPP_CG::WriterTemplates. The values of these properties control the actual code that is generated for specific elements such as attributes or operations. They therefore provide you with much greater flexibility in terms of controlling the use of white space in the generated code.

For example, you can modify the value of the CPP_CG::WriterTemplates::OperationImp property to modify the formatting of the code that is generated for operations in the implementation file.

Important: Because the values of these properties represent the code that is generated for the various types of elements, any changes to the properties may result in code that cannot be compiled or code that does not behave as expected.