www.delorie.com/gnu/docs/guile/goops_43.html   search  
 
Buy GNU books!


Goops Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.10.1 Classes

primitive procedure: class-name class
Return the name of class class. This is the value of the class metaobject's name slot.

primitive procedure: class-direct-supers class
Return a list containing the direct superclasses of class. This is the value of the class metaobject'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 the class metaobject's direct-slots slot.

primitive procedure: class-direct-subclasses class
Return a list containing the direct subclasses of class. This is the value of the class metaobject'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 the class metaobject's direct-methods slot.

primitive procedure: class-precedence-list class
Return the class precedence list for class class (see section 5.4.4 Class precedence list). This is the value of the class metaobject'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 the class metaobject's slots slot.

primitive procedure: class-environment class
Return the value of class's environment slot. [ *fixme* I don't know what this value is used for. ]

procedure: class-subclasses class
Return a list of all subclasses of class.

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] [ ? ]

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003