IBM Support

How to generate the argument list of an operation in multiple lines using Rational Rhapsody

Question & Answer


Question

How do you generate the argument list of an operation in multiple lines using IBM Rational Rhapsody?

Cause

Avoid generation of argument list of an operation in a single line when argument size is large.

Answer

In order to generate the argument list of an operation on multiple lines, you can make use of code generation property CPP_CG::Operation::MultiLineArgumentList

  • If the value of this property is set to True, then Rational Rhapsody generates the argument list of an operation in multiple lines
  • If the value for this property is set at the configuration level of a model, then it would impact all operations in the model or even individually at the operation level

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.6;7.6.0.1;7.6.1;7.6.1.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21591346