ibm Rational Rhapsody 7.5 — Modeling structures as types instead of classes

Miscellaneous reverse engineering options Modeling structures as types instead of classes To have Rational Rhapsody model structures as types instead of classes, click the Add button on the Misc tab of the Reverse Engineering Options window so that you can enter the names of the structures or use a wildcard to apply the mapping to all structures. For example, consider the following source file:

struct perf_log_block { int cassette_mounts; }; struct perf_log_block blk_pos[ FIVE ]; another_block a_block[ FIVE ]; typedef struct _vanillaThing { char field1; } vanillaThing_t, *vanillaThing_p, **vanillaThing_h; typedef struct { int field4; } obMethod_1_subType_2_t, *obMethod_1_subType_2_p, **obMethod_1_subType_2_h; Rational Rhapsody 1025