| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
9.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
nameslot.
- primitive procedure: class-direct-supers class
Return a list containing the direct superclasses of class. This is the value of class’s
direct-supersslot.
- 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-slotsslot.
- primitive procedure: class-direct-subclasses class
Return a list containing the direct subclasses of class. This is the value of class’s
direct-subclassesslot.
- 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-methodsslot.
- 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
cplslot.
- 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
slotsslot.
- 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 February 3, 2012 using texi2html 5.0.
