| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (5 out of 18)

Viewing the Class Hierarchy with the Inspect Facility

You can use the Inspect facility to show the entire class hierarchy by executing:

The class hierarchy that Inspect displays includes all system-defined classes, and any user-defined classes as well. The names of user-defined classes appear inside boxes. The figure at the end of this chapter shows the complete system-defined class hierarchy as displayed by Inspect.

Note that Inspect shows class hierarchies from left to right, so that the root class of the displayed hierarchy is at the left rather than at the top.

You can use Inspect to examine the inheritance of any class by executing:

where class is the name of the class you want to examine. Inspect displays that part of the class hierarchy that relates to class.

For further information on using Inspect, see Chapter 38, The Inspect Facility.

| Prev | Next | Start of Chapter | End of Chapter | Contents | Glossary | Index | Comments | (5 out of 18)

Copyright © 1997 Gensym Corporation, Inc.