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:
- 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
then click Next.
- On the Topics page, select the Related
Visualizer Elements 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 Associations from
the list. It must be the only box checked in the list.
- Select Incoming for parent
class associations or Outgoing for child
class associations.
- Select Expand Indefinitely or
type in the number of association levels to be displayed.
- Click Finish.
Note: You can also create topic diagrams
from the C/C++ Projects view by right-clicking
a C/C++ element and clicking .