Question & Answer
Question
How do you change the default qualifier of an argument for a function in IBM Rational Rhapsody?
Cause
You would like to change the default qualifier type for argument from const to some other qualifier types.
Answer
To change the default qualifier const to some other qualifier for the data type you need to:
- Add PredefinedTypes.sbs to your model as unit.
- Override CPP_CG::Type::In for the default variable as per requirement.
- Save the Project and generate code.
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.6;8.0;8.0.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21638637