MOP » Classes » Class graph

MOP » Classes » T

Class T

Direct superclasses

None

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.

MOP » Classes » function

MOP » Classes » standard-object

Class standard-object

Direct superclasses

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.

MOP » Classes » funcallable-standard-object

Class funcallable-standard-object

Direct superclasses

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

MOP » Classes » metaobject

Class metaobject

Direct superclasses

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.

MOP » Classes » generic-function

MOP » Classes » standard-generic-function

Class standard-generic-function

Direct superclasses

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

MOP » Classes » method

Class method

Direct superclasses

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

MOP » Classes » standard-method

Class standard-method

Direct superclasses

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

MOP » Classes » standard-accessor-method

Class standard-accessor-method

Direct superclasses

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.

MOP » Classes » standard-reader-method

Class standard-reader-method

Direct superclasses

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

MOP » Classes » standard-writer-method

Class standard-writer-method

Direct superclasses

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

MOP » Classes » slot-definition

Class slot-definition

Direct superclasses

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

MOP » Classes » direct-slot-definition

Class direct-slot-definition

Direct superclasses

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.

MOP » Classes » effective-slot-definition

Class effective-slot-definition

Direct superclasses

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.

MOP » Classes » standard-slot-definition

Class standard-slot-definition

Direct superclasses

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.

MOP » Classes » standard-direct-slot-definition

Class standard-direct-slot-definition

Direct superclasses

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

MOP » Classes » standard-effective-slot-definition

Class standard-effective-slot-definition

Direct superclasses

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

MOP » Classes » method-combination

Class method-combination

Direct superclasses

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

MOP » Classes » specializer

Class specializer

Direct superclasses

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

MOP » Classes » class

Class class

Direct superclasses

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

MOP » Classes » eql-specializer

Class eql-specializer

Direct superclasses

specializer

Metaclass

standard-class

Description

This class is used for eql specializers.

Mentions

MOP » Classes » standard-class

Class standard-class

Direct superclasses

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.

MOP » Classes » funcallable-standard-class

Class funcallable-standard-class

Direct superclasses

class

Metaclass

standard-class

Description

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

Mentions

MOP » Classes » built-in-class

Class built-in-class

Direct superclasses

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

MOP » Classes » forward-referenced-class

Class forward-referenced-class

Direct superclasses

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