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

Miscellaneous reverse engineering options If you add the wildcard symbol (*) to the Types list so all structures are mapped to types, the results are as follows: Note the following information: Љ The first structure type is modeled as a type named perf_log_block with the following declaration: struct %s { int cassette_mounts; }; Љ The array of structures is modeled as a variable named blk_pos , of type perf_log_block with a multiplicity of FIVE, as follows: perf_log_block %s[ FIVE] Љ The array is modeled as a variable named a_block. Its declaration is as follows: Љ The structure typedef is modeled as a type named _vanillaThing . Its declaration is as follows:

another_block %s[ FIVE ] struct %s { char field1; }; Љ The types vanillaThing_t , *vanillaThing_p , and **vanillaThing_h are modeled as types, as follows: – typedef struct _vanillaThing %s – typedef struct _vanillaThing * %s – typedef struct _vanillaThing * * %s Rational Rhapsody 1027