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
- 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.