(goops.info.gz) Class Options
Info Catalog
(goops.info.gz) Basic Class Definition
(goops.info.gz) Defining New Classes
(goops.info.gz) Slot Options
Class Options
-------------
- class option: #:metaclass metaclass
The `#:metaclass' class option specifies the metaclass of the class
being defined. METACLASS must be a class that inherits from
`<class>'. For an introduction to the use of metaclasses, see
Metaobjects and the Metaobject Protocol and
Metaclass.
If the `#:metaclass' option is absent, GOOPS reuses or constructs a
metaclass for the new class by calling `ensure-metaclass' (
ensure-metaclass Class Definition Internals.).
- class option: #:name name
The `#:name' class option specifies the new class's name. This
name is used to identify the class whenever related objects - the
class itself, its instances and its subclasses - are printed.
If the `#:name' option is absent, GOOPS uses the first argument to
`define-class' as the class name.
- class option: #:environment environment
*fixme* Not sure about this one, but I think that the
`#:environment' option specifies the environment in which the
class's getters and setters are computed and evaluated.
If the `#:environment' option is not specified, the class's
environment defaults to the top-level environment in which the
`define-class' form appears.
Info Catalog
(goops.info.gz) Basic Class Definition
(goops.info.gz) Defining New Classes
(goops.info.gz) Slot Options
automatically generated byinfo2html