You can use topic diagrams to explore the entire inheritance
hierarchy of C/C++ classes.
You must have a topic diagram that has a generalization
relationship between C/C++ classes open and active in the diagram
editor before you can complete this task.
To explore the entire inheritance hierarchy of C/C++ classes:
- In the diagram editor, right-click a C/C++ class,
then click .
- In the Topic Wizard, on the Topic
Diagram Location page, specify a parent folder and type
a File name for the new topic diagram; and
click Next.
- On the Topics page, select the C++
Inheritance Tree topic from the list of available C/C++
topics and click Next.
- On the Related Visualizer Elements page,
complete the following steps:
- Expand the C/C++ tree
and ensure that there is a checked box beside Inherits
(Generalization) from the list. If the box is not checked,
select it.
- Select Expand Indefinitely.
- Select Incoming to display all
the child classes or Outgoing to display
all the parent classes or Both to display the
entire hierarchy.
- Click Finish.
Note: You can also create topic diagrams
from the C/C++ Projects view by right-clicking
a C/C++ element and clicking .