IBM Support

How to generate different qualifiers for arguments in Rational Rhapsody

Technote (FAQ)


How do you change the default qualifier of an argument for a function in IBM Rational Rhapsody?


You would like to change the default qualifier type for argument from const to some other qualifier types.


To change the default qualifier const to some other qualifier for the data type you need to:

  1. Add to your model as unit.

  2. Override CPP_CG::Type::In for the default variable as per requirement.

  3. Save the Project and generate code.

Document information

More support for: Rational Rhapsody
General Information

Software version: 7.6, 8.0, 8.0.2

Operating system(s): Windows

Reference #: 1638637

Modified date: 24 May 2013