Class graph

T

Class T

No superclasses.

Metaclass: built-in-class

Description

The root of the class graph.

Comments and remarks

See also the entry in the Common Lisp HyperSpec for this class.

Mentions

Note that all "Mentions" sections on this page never take into account any mentions in Table 5.1, since that table mentions all CLOS MOP related classes.

5.5.3 Instance Structure Protocol

In particular, portable programs can control the implementation of, and obtain direct access to, slots with allocation :instance and type T. These are called directly accessible slots.

function

standard-object

Class standard-object

T

Metaclass: standard-class

Description

This class is the default direct superclass of the class standard-class. When an instance of the class standard-class is created, and no direct superclasses are explicitly specified, it defaults to this class. In this way, any behavior associated with this class will be inherited, directly or indirectly, by all instances of the class standard-class. A subclass of standard-class may have a different class as its default direct superclass, but that class must be a subclass of this class.

Comments and remarks

See also the entry in the Common Lisp HyperSpec for this class.

Mentions

5.3 Inheritance structure of metaobject classes

The class standard-object is the default direct superclass of the class standard-class. When an instance of the class standard-class is created, and no direct superclasses are explicitly specified, it defaults to the class standard-object. In this way, any behavior associated with the class standard-object will be inherited, directly or indirectly, by all instances of the class standard-class. A subclass of standard-class may have a different class as its default direct superclass, but that class must be a subclass of the class standard-object.

funcallable-standard-object

Class funcallable-standard-object

function standard-object

Metaclass: standard-class

Description

This class is the default direct superclass of the class funcallable-standard-class. When an instance of the class funcallable-standard-class is created, and no direct superclasses are explicitly specified, it defaults to this class. In this way, any behavior associated with this class will be inherited, directly or indirectly, by all instances of the class funcallable-standard-class. A subclass of funcallable-standard-class may have a different class as its default direct superclass, but that class must be a subclass of this class.

Mentions

metaobject

Class metaobject

standard-object

Metaclass: standard-class

Description

The superclass of all metaobject classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

Mentions

None in chapter 5, aside from Table 5.1.

generic-function

standard-generic-function

Class standard-generic-function

generic-function

Metaclass: funcallable-standard-class

Description

This class is a standard metaobject class. This is the class that the macro defgeneric uses by default. This is also a class on which user specializations are normally based.

Comments and remarks

See also the entry in the Common Lisp HyperSpec for this class.

Mentions

method

Class method

metaobject

Metaclass: standard-class

Description

The superclass of all method metaobject classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

See also the entry in the Common Lisp HyperSpec for this class.

Mentions

standard-method

Class standard-method

method

Metaclass: standard-class

Description

This class is a standard metaobject class. This is the class that the macro defmethod uses by default. This is also a class on which user specializations are normally based.

Comments and remarks

See also the entry in the Common Lisp HyperSpec for this class.

Mentions

standard-accessor-method

Class standard-accessor-method

standard-method

Metaclass: standard-class

Description

The superclass of all standard accessor method classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

Mentions

None in chapter 5, aside from Table 5.1.

standard-reader-method

Class standard-reader-method

standard-accessor-method

Metaclass: standard-class

Description

This class is a standard metaobject class. This is the class that is returned by the method reader-method-class (class standard-class) (direct-slot standard-direct-slot-definition) &rest initargs and the method reader-method-class (class funcallable-standard-class) (direct-slot standard-direct-slot-definition) &rest initargs. This is also a class on which user specializations are normally based.

Mentions

standard-writer-method

Class standard-writer-method

standard-accessor-method

Metaclass: standard-class

Description

This class is a standard metaobject class. This is the class that is returned by the method writer-method-class (class standard-class) (direct-slot standard-direct-slot-definition) &rest initargs and the method writer-method-class (class funcallable-standard-class) (direct-slot standard-direct-slot-definition) &rest initargs. This is also a class on which user specializations are normally based.

Mentions

slot-definition

Class slot-definition

metaobject

Metaclass: standard-class

Description

The superclass of all slot-definition metaobject classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

Mentions

direct-slot-definition

Class direct-slot-definition

slot-definition

Metaclass: standard-class

Description

The superclass of all direct-slot-definition metaobject classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

Mentions

None in chapter 5, aside from Table 5.1.

effective-slot-definition

Class effective-slot-definition

slot-definition

Metaclass: standard-class

Description

The superclass of all effective-slot-definition metaobject classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

Mentions

None in chapter 5, aside from Table 5.1.

standard-slot-definition

Class standard-slot-definition

slot-definition

Metaclass: standard-class

Description

The superclass of all standard-slot-definition metaobject classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

Mentions

None in chapter 5, aside from Table 5.1.

standard-direct-slot-definition

Class standard-direct-slot-definition

direct-slot-definition standard-slot-definition

Metaclass: standard-class

Description

This class is a standard metaobject class. This is the class that is returned by the method direct-slot-definition-class (class standard-class) &rest initargs and the method direct-slot-definition-class (class funcallable-standard-class) &rest initargs. This is also a class on which user specializations are normally based.

Mentions

standard-effective-slot-definition

Class standard-effective-slot-definition

effective-slot-definition standard-slot-definition

Metaclass: standard-class

Description

This class is a standard metaobject class. This is the class that is returned by the method effective-slot-definition-class (class standard-class) &rest initargs and the method effective-slot-definition-class (class funcallable-standard-class) &rest initargs. This is also a class on which user specializations are normally based.

Mentions

method-combination

Class method-combination

metaobject

Metaclass: standard-class

Description

The superclass of all method-combination metaobject classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

Mentions

specializer

Class specializer

metaobject

Metaclass: standard-class

Description

The superclass of all specializer metaobject classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

Mentions

class

Class class

specializer

Metaclass: standard-class

Description

The superclass of all class metaobject classes.

Comments and remarks

This class is an abstract class and is not intended to be instantiated. The results are undefined if an attempt is made to make an instance of this class with make-instance.

See also the entry in the Common Lisp HyperSpec for this class.

Mentions

eql-specializer

standard-class

Class standard-class

class

Metaclass: standard-class

Description

This class is a standard metaobject class. This is the class that the macro defclass uses by default. This is also a class on which user specializations are normally based.

Comments and remarks

See also the entry in the Common Lisp HyperSpec for this class.

Mentions

5.3 Inheritance structure of metaobject classes

The classes standard-class, standard-direct-slot-definition, standard-effective-slot-definition, standard-method, standard-reader-method, standard-writer-method, and standard-generic-function are called standard metaobject classes. [...]

[...]

The class standard-object is the default direct superclass of the class standard-class. When an instance of the class standard-class is created, and no direct superclasses are explicitly specified, it defaults to the class standard-object. In this way, any behavior associated with the class standard-object will be inherited, directly or indirectly, by all instances of the class standard-class. A subclass of standard-class may have a different class as its default direct superclass, but that class must be a subclass of the class standard-object.

funcallable-standard-class

Class funcallable-standard-class

class

Metaclass: standard-class

Description

This class is a special-purpose class metaobject class. Instances of this class are called funcallable instances.

Mentions

built-in-class

Class built-in-class

class

Metaclass: standard-class

Description

This class is a special-purpose class metaobject class. Instances of this class are called built-in classes.

Comments and remarks

See also the entry in the Common Lisp HyperSpec for this class.

Mentions

forward-referenced-class

Class forward-referenced-class

class

Metaclass: standard-class

Description

This class is a special-purpose class metaobject class. When the definition of a class references another class which has not yet been defined, an instance of this class is used as a stand-in until the class is actually defined.

Mentions