Through
reverse engineering IBM® Rational® Rhapsody® imports
macros unexpanded so that imported macros can behave as calls to macros
by default. This action means that in subsequent code generation a
macro will be generated as is.
The
following properties are set by default
for this feature:
- <lang>_ReverseEngineering::ImplementationTrait::RespectCodeLayout property
is set to Ordering.
- <lang>_ReverseEngineering::ImplementationTrait::MacroExpansion property
is set to Cleared.
- <lang>_Roundtrip::General::RoundtripScheme property
is set to Respect.
The
contents of a macro are not be shown in
the model (meaning you will not see its contents in the Rational Rhapsody browser).
Note: When you open a model created before version
7.2 of the product, the product, by default, does not import a macro
as a call to the macro itself. Instead, the product imports the expanded
elements of a defined macro.