Package: closer-mop
Generic Function add-direct-subclass
Lambda List
add-direct-subclass (class subclass)
Arguments
Return Value
The value returned by this generic function is unspecified.
Details
This generic function is called to maintain a set of backpointers from a
class to its direct subclasses. This generic function adds subclass to the set of direct subclasses of superclass.
When a class is initialized, this generic function is called once for each
direct superclass of the class.
When a class is reinitialized, this generic function is called once for each added direct superclass of the class. The generic function remove-direct-subclass is called once for each deleted direct superclass of the class.
When a class is reinitialized, this generic function is called once for each added direct superclass of the class. The generic function remove-direct-subclass is called once for each deleted direct superclass of the class.
Methods
add-direct-subclass ((superclass class) (subclass class))
No behavior is specified for this method beyond that which is specified
for the generic function.
This method cannot be overridden unless the following methods are overridden as well:
remove-direct-subclass (class class)
class-direct-subclasses (class)
This method cannot be overridden unless the following methods are overridden as well:
remove-direct-subclass (class class)
class-direct-subclasses (class)