Exploring entire inheritance hierarchy of C/C++ classes

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:
  1. In the diagram editor, right-click a C/C++ class, then click Visualize > In Topic Diagram.
  2. 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.
  3. On the Topics page, select the C++ Inheritance Tree topic from the list of available C/C++ topics and click Next.
  4. On the Related Visualizer Elements page, complete the following steps:
    1. 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.
    2. Select Expand Indefinitely.
  5. Select Incoming to display all the child classes or Outgoing to display all the parent classes or Both to display the entire hierarchy.
  6. Click Finish.
Note: You can also create topic diagrams from the C/C++ Projects view by right-clicking a C/C++ element and clicking Visualize > Add to New Diagram File > Topic Diagram.
Related concepts
Topic diagrams
Related tasks
Creating topic diagrams of C/C++ elements
Customizing queries for existing topic diagrams
Exploring associations of C/C++ classes
Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.