What is the significance or purpose and use of the '//##' prefixed comments in Rhapsody C++ generated code?
Question & Answer
Question
Answer
These comments, called "annotations", are used in at least two Rhapsody features: Roundtrip and error highlighting.
For example:
1) If user modifies source code in a particular place such as a variable definition or body of operation, Roundtrip will synchronize these changes with appropriate model elements.
2) If user made a mistake somewhere within an operation implementation, and compiler issued error message in Rhapsody output window (Build or Log tabs), double-click on this error forces Rhapsody to open Features dialog of this operation instead of generated source code editor.
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","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
ibm10719683