You can add an inheritance relationship between a C++ class or
struct.
You must be in the C/C++ perspective and have a class diagram open
in the diagram editor.
To create an inheritance relationship in a C/C++ class diagram:
- In the Palette, click Inherits.
- In the diagram editor, click a C/C++ class or struct and drag the
cursor to another C/C++ class or struct.
- In the New inheritance relationship wizard,
to specify a virtual base class inheritance, select the Virtual
base class inheritance check box.
- In the Visibility field, select a visibility
type.
- Click Finish.