Roundtripping Roundtripping for C++ The following details apply to roundtripping in C++ only: Љ You can perform a Advanced (Full) roundtrip for language types in Rational Rhapsody Developer for C++. Љ There is support of #includes and forward declarations. Љ Roundtripping can convert auto-generated operations to user operations on modifying in code through either of the following methods: – By setting the CG::CGGeneral::GeneratedCodeInBrowser property to Checked . This works for all auto-generated operations shown in the browser except constructors and destructors.
– If the above property is not used because there are no auto-generated operations in the browser, then you can remove the “//##auto_generated” annotation of the operation so that user operations will be added to the model. Љ Roundtripping takes into account code changes made for all user-defined types. Љ If you change the order of elements, the “code respect” option preserves the order of the following elements for the next code generation: – Global elements – Class elements – Auto-generated operations (excluding statechart and instrumentation code) Љ Position of > dependency is preserved by roundtripping in code respect mode. Љ You can roundtrip C++ templates.
#includes and forward declarations 1058 User Guide