Viewing Class Hierarchy with the C++ Class Explorer

From RAD Studio
Jump to: navigation, search

Go Up to C++ Class Explorer Topics


You can group the classes and interfaces in your project according to class hierarchy.

To view the class hierarchy of your project

  1. In C++Builder, open a C++ project that contains the managed unit (paired .cpp/.h files) that defines the classes and interfaces you want to examine.
  2. Click View > C++ Class Explorer .
  3. After the Type List (left-hand pane) is populated, select the desired class ClExplClassNum16.png or interface ClExplInterface.png in the tree structure, then do either of the following:
    • Right-click the selected item and choose Group by Hierarchy from the context menu.
    • Click the toolbar button Group types by inheritance hierarchy ClExplHierarchy.png.

In the hierarchy view, the tree view on the Type List displays indented child nodes under each class or interface.

See Also