The dynamic-classes Reference Manual

This is the dynamic-classes Reference Manual, version 1.0.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:01:16 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 dynamic-classes

Maintainer

Gary Warren King <>

Author

Gary Warren King <>

License

MIT Style license

Version

1.0.2

Dependency

metatilities-base (system).

Source

dynamic-classes.asd.

Child Component

dev (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 dynamic-classes/dev

Source

dynamic-classes.asd.

Parent Component

dynamic-classes (system).

Child Components

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


4.1 Lisp


4.1.1 dynamic-classes/dynamic-classes.asd

Source

dynamic-classes.asd.

Parent Component

dynamic-classes (system).

ASDF Systems

dynamic-classes.

Packages

dynamic-classes-system.


4.1.2 dynamic-classes/dev/package.lisp

Source

dynamic-classes.asd.

Parent Component

dev (module).

Packages

metabang-dynamic-classes.


4.1.3 dynamic-classes/dev/define-class.lisp

Dependency

package.lisp (file).

Source

dynamic-classes.asd.

Parent Component

dev (module).

Public Interface
Internals

4.1.4 dynamic-classes/dev/dynamic-class.lisp

Dependency

define-class.lisp (file).

Source

dynamic-classes.asd.

Parent Component

dev (module).

Public Interface
Internals

5 Packages

Packages are listed by definition order.


5.1 dynamic-classes-system

Source

dynamic-classes.asd.

Use List
  • asdf/interface.
  • common-lisp.

5.2 metabang-dynamic-classes

Source

package.lisp.

Nickname

dynamic-classes

Use List

common-lisp.

Public Interface
Internals

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


6.1 Public Interface


6.1.1 Ordinary functions

Function: add-parameter->dynamic-class (class-type parameter &rest super-classes)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Function: determine-dynamic-class (class-type dynamic-class &rest parameters)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Function: empty-add-parameter->dynamic-class (class-type)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Function: empty-all-add-parameter->dynamic-class ()
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Function: find-existing-subclass (superclass superclasses)

Look through all the sub-classes of superclass and see if any of them descend from every class in superclasses.

Package

metabang-dynamic-classes.

Source

define-class.lisp.

Function: find-or-create-class (root classes)

Try to find a class which is a subclass of root and all of the other ‘classes‘ as well. If no such class exists, then it will be created and returned.

Package

metabang-dynamic-classes.

Source

define-class.lisp.

Function: parameter->dynamic-class (table parameter)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Function: (setf parameter->dynamic-class) (table parameter)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.


6.1.2 Generic functions

Generic Function: existing-subclass (class-type class-list)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Methods
Method: existing-subclass ((class-type (eql nil)) class-list)
Generic Function: include-class-dependencies (class-type dynamic-class class-list &rest parameters)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Methods
Method: include-class-dependencies ((class-type (eql nil)) dynamic-class class-list &rest parameters)

6.2 Internals


6.2.1 Special variables

Special Variable: *define-class-form*

The name of the form used to define a class. Usually, this will be bound to ’defclass* but when we are using GBBOpen, it will probably be bound to define-class or define-class*.

Package

metabang-dynamic-classes.

Source

define-class.lisp.

Special Variable: *parameter-dynamic-class-table*
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.


6.2.2 Ordinary functions

Function: add-dynamic-class-for-parameters (class-type dynamic-class &rest parameters)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Function: class-redundant-p (class classes)
Package

metabang-dynamic-classes.

Source

define-class.lisp.

Function: define-class (class-name superclasses slots &rest class-options)

Define a class with all the bells and whistles on the fly... See simple-define-class for the simpler version.

Package

metabang-dynamic-classes.

Source

define-class.lisp.

Function: dynamic-class-information ()
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Function: map-subclasses (class fn &key proper?)

Applies fn to each subclass of class. If proper? is true, then
the class itself is not included in the mapping. Proper? defaults to nil.

Package

metabang-dynamic-classes.

Source

define-class.lisp.

Function: remove-redundant-classes (classes)
Package

metabang-dynamic-classes.

Source

define-class.lisp.

Function: simple-define-class (superclasses &optional name)

Define a class on the fly...

Package

metabang-dynamic-classes.

Source

define-class.lisp.

Function: simple-define-class-name (superclasses &optional package)
Package

metabang-dynamic-classes.

Source

define-class.lisp.

Function: superclasses (thing &key proper?)

Returns a list of superclasses of thing. Thing can be a class, object or symbol naming a class. The list of classes returned is ’proper’; it does not include the class itself.

Package

metabang-dynamic-classes.

Source

define-class.lisp.

Function: table&parameter->dynamic-class (class-type parameter)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Function: type->parameter-table (type)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.

Function: (setf type->parameter-table) (type)
Package

metabang-dynamic-classes.

Source

dynamic-class.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   (  
A   C   D   E   F   G   I   M   P   R   S   T  
Index Entry  Section

(
(setf parameter->dynamic-class): Public ordinary functions
(setf type->parameter-table): Private ordinary functions

A
add-dynamic-class-for-parameters: Private ordinary functions
add-parameter->dynamic-class: Public ordinary functions

C
class-redundant-p: Private ordinary functions

D
define-class: Private ordinary functions
determine-dynamic-class: Public ordinary functions
dynamic-class-information: Private ordinary functions

E
empty-add-parameter->dynamic-class: Public ordinary functions
empty-all-add-parameter->dynamic-class: Public ordinary functions
existing-subclass: Public generic functions
existing-subclass: Public generic functions

F
find-existing-subclass: Public ordinary functions
find-or-create-class: Public ordinary functions
Function, (setf parameter->dynamic-class): Public ordinary functions
Function, (setf type->parameter-table): Private ordinary functions
Function, add-dynamic-class-for-parameters: Private ordinary functions
Function, add-parameter->dynamic-class: Public ordinary functions
Function, class-redundant-p: Private ordinary functions
Function, define-class: Private ordinary functions
Function, determine-dynamic-class: Public ordinary functions
Function, dynamic-class-information: Private ordinary functions
Function, empty-add-parameter->dynamic-class: Public ordinary functions
Function, empty-all-add-parameter->dynamic-class: Public ordinary functions
Function, find-existing-subclass: Public ordinary functions
Function, find-or-create-class: Public ordinary functions
Function, map-subclasses: Private ordinary functions
Function, parameter->dynamic-class: Public ordinary functions
Function, remove-redundant-classes: Private ordinary functions
Function, simple-define-class: Private ordinary functions
Function, simple-define-class-name: Private ordinary functions
Function, superclasses: Private ordinary functions
Function, table&parameter->dynamic-class: Private ordinary functions
Function, type->parameter-table: Private ordinary functions

G
Generic Function, existing-subclass: Public generic functions
Generic Function, include-class-dependencies: Public generic functions

I
include-class-dependencies: Public generic functions
include-class-dependencies: Public generic functions

M
map-subclasses: Private ordinary functions
Method, existing-subclass: Public generic functions
Method, include-class-dependencies: Public generic functions

P
parameter->dynamic-class: Public ordinary functions

R
remove-redundant-classes: Private ordinary functions

S
simple-define-class: Private ordinary functions
simple-define-class-name: Private ordinary functions
superclasses: Private ordinary functions

T
table&parameter->dynamic-class: Private ordinary functions
type->parameter-table: Private ordinary functions