[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.8.1 Classes
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.
- primitive procedure: class-name class
Return the name of class class. This is the value of class’s
name
slot.
- primitive procedure: class-direct-supers class
Return a list containing the direct superclasses of class. This is the value of class’s
direct-supers
slot.
- primitive procedure: class-direct-slots class
Return a list containing the slot definitions of the direct slots of class. This is the value of class’s
direct-slots
slot.
- primitive procedure: class-direct-subclasses class
Return a list containing the direct subclasses of class. This is the value of class’s
direct-subclasses
slot.
- primitive procedure: class-direct-methods class
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.
- primitive procedure: class-precedence-list class
Return the class precedence list for class class (see section Class Precedence List). This is the value of class’s
cpl
slot.
- primitive procedure: class-slots class
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.
- procedure: class-methods class
Return a list of all methods that use class or a subclass of class as one of its formal parameter specializers.
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 20, 2013 using texi2html 5.0.