Exploring associations of C/C++ classes

You can use topic diagrams to explore associations of C/C++ classes.

Your C/C++ project must have at least a C/C++ class with an instance that has the type of another C/C++ class.
To explore associations 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 then click Next.
  3. On the Topics page, select the Related Visualizer Elements 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 Associations from the list. It must be the only box checked in the list.
    2. Select Incoming for parent class associations or Outgoing for child class associations.
    3. Select Expand Indefinitely or type in the number of association levels to be displayed.
  5. 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 entire inheritance hierarchy of C/C++ classes
Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.