Using the Type Hierarchy Window

See Also

The Type Hierarchy window lets you inspect all subtypes or supertypes of a class.

You can open the Type Hierarchy window as pop-up window or as a window in the IDE. If you open the Type Hierarchy window in the IDE when the Include Hierarchy window is open, the Type Hierarchy window replaces the Include Hierarchy window.

To inspect all of the subtypes of a class:

  1. In the Source Editor, right-click on the class declaration or the class reference in a source or header file.
  2. To display the class hierarchy in a window in the IDE, choose View Type Hierarchy. The Hierarchy window opens to the right of Source Editor window.
  3. To display the class hierarchy in a pop-up window, choose Inspect Type Hierarchy. The pop-up Hierarchy window opens.

The default display is a tree view of all of the subtypes of the class.

Buttons at the bottom of the Type Hierarchy window allow you to change the include hierarchy display:

Button Description
Refresh button (IDE window only) Updates the hierarchy display.
Subtypes button Changes the list to the supertypes of the class.
Supertypes button Changes the list to the subtypes of the class.
All Subtypes/Direct Only Subtypes button Toggles between the list of the all subtypes of the class to the list of only the direct subtypes.
Tree View/Plain List button Toggles the plain list and a tree view.
See Also
Going to a Type
Going to a Function or Variable
Going to a Declaration
Switching Between Source and Header Files

Legal Notices