Next: Instances, Up: Introspection [Contents][Index]
A GOOPS class is itself an instance of the <class>
class, or of a
subclass of <class>
. The definition of the <class>
class
has slots that are used to describe the properties of a class, including
the following.
Return the name of class class. This is the value of
class’s name
slot.
Return a list containing the direct superclasses of class. This
is the value of class’s direct-supers
slot.
Return a list containing the slot definitions of the direct slots of
class. This is the value of class’s direct-slots
slot.
Return a list containing the direct subclasses of class. This is
the value of class’s direct-subclasses
slot.
Return a list of all the generic function methods that use class
as a formal parameter specializer. This is the value of class’s
direct-methods
slot.
Return the class precedence list for class class (see Class Precedence List). This is the value of class’s cpl
slot.
Return a list containing the slot definitions for all class’s
slots, including any slots that are inherited from superclasses. This
is the value of class’s slots
slot.
Return a list of all subclasses of class.
Return a list of all methods that use class or a subclass of class as one of its formal parameter specializers.
Next: Instances, Up: Introspection [Contents][Index]