Product Documentation
Cadence SKILL IDE User Guide
Product Version IC23.1, August 2023

Class Inheritance Relationships

You can use the Class Browser to understand and follow the class inheritance hierarchy of the classes used in your SKILL code. You have the option to view the subclasses, slot definitions, and superclasses of a class.

Any @reader, @writer, @initarg, and @initform slot options you used for initializing the slots can also be viewed in the Class Browser assistant. All instances of a given class will have the same slots. If a subclass is inherited from a superclass, it also inherits the slots of the superclass. For more information on class inheritance concepts, see SKILL++ Object System.

Displaying the Class Hierarchy

To view the class hierarchy:

  1. Choose Window – Assistants – Class Browser. The Class Browser assistant displays.
  2. In the Show Class drop-down list box, type the class name for which you want to view the class hierarchy and press Enter. If the specified class does not exists, an error message is displayed.
  3. Click to view the superclasses or to view the subclasses and slot definitions of the given class. If the superclass or subclass information exists, it is displayed as an inheritance tree in the Class Browser window.
    Different object types are identified by different icons in the class tree. For example, classes are identified by the icon, slots defined within a given class are identified by the icon, and slots inherited from a superclass are identified by the icon.
    1. Right-click a class name in the current tree view and choose Go To Source from the context-menu to view its definition in the code. If the code file for the given class is not loaded, a warning message displays instead.
    2. Right-click a class name and choose Go To Finder from the context-menu to view its syntax and description in Finder.
  4. Use the Search drop-down list box to search for class or slot names within the current tree view. Alternatively, view the class hierarchy using the Search toolbar, as described below:
    1. In the Search toolbar, choose Show Class from the first drop-down list box.
    2. In the second drop-down list box, type the class name for which you want to view the class hierarchy and press Enter or click the icon.
      If the class information exists, it is displayed as an inheritance tree in the Class Browser window.

Related Topics

Using the Method Browser Assistant

Setting Up Files/Directories for the Lint Checker

SKILL Profiler Assistant

Using the Step Result Assistant

Using the Code Browser Assistant


Return to top
 ⠀
X