Creating inheritance relationships between C/C++ elements

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:
  1. In the Palette, click Inherits.
  2. In the diagram editor, click a C/C++ class or struct and drag the cursor to another C/C++ class or struct.
  3. In the New inheritance relationship wizard, to specify a virtual base class inheritance, select the Virtual base class inheritance check box.
  4. In the Visibility field, select a visibility type.
  5. Click Finish.

Feedback