Creating inheritance relationships between C/C++ elements in domain modeling class diagrams

You can add an inheritance relationship between C++ classes or structs in a domain modeling class diagram.

Before you begin

You must be in the C/C++ perspective and have a domain modeling class diagram open in the diagram editor.

About this task

To create an inheritance relationship, complete the following steps:

Procedure

  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