IBM® Rational® Rhapsody® can
either model certain classes as types or use the MFC type library.
Procedure
- On the Misc tab of
the Reverse Engineering Advanced Options window,
click Add to open the Add (wild-card
expression) window for types.
- Select the appropriate radio button:
- Add Type to add the class
as a type
- Add Library to add the class
as an MFC type definition
- If you selected the Add Type radio
button, type the name of a single class or a wildcard expression to
match the names of several classes to be imported in the Type box.
For example, OM* specifies that all classes that
start with "OM" are types.
Or, if you selected
the Add Library radio button (applicable to Rational Rhapsody Developer for C++ only),
select MFC from the Library list. Note: Currently,
Rational Rhapsody Developer for C++ recognizes
only one predefined type library (MFC) with only one class (
CString).
You can add more classes in the
CPP_ReverseEngineering::MFC::DataTypes property
of the current configuration. Alternatively, you can create new library
metaclasses, like MFC, in the
factory.prp and
site.prp files.