Package: closer-mop
Generic Function slot-boundp-using-class
Lambda List
slot-boundp-using-class (class object slotd)
Arguments
Return Value
This generic function returns true or false.
Details
This generic function implements the behavior of the slot-boundp function. It is called by slot-boundp with the class of object
as its first argument and the pertinent effective slot definition metaobject
as its third argument.
The generic function slot-boundp-using-class tests whether a specific slot in an instance is bound.
The results are undefined if the class argument is not the class of the object argument, or if the slot argument does not appear among the set of effective slots associated with the class argument.
The generic function slot-boundp-using-class tests whether a specific slot in an instance is bound.
The results are undefined if the class argument is not the class of the object argument, or if the slot argument does not appear among the set of effective slots associated with the class argument.
Methods
slot-boundp-using-class ((class standard-class) object (slot standard-effective-slot-definition))
slot-boundp-using-class ((class funcallable-standard-class) object (slot standard-effective-slot-definition))
slot-boundp-using-class ((class built-in-class) object slot)
slot-boundp-using-class ((class funcallable-standard-class) object (slot standard-effective-slot-definition))
These methods implement the full behavior of this generic function for slots with allocation :instance and :class. If the supplied slot has an allocation other than :instance or :class an
error is signaled.
Overriding these methods is permitted, but may require overriding other methods in the standard implementation of the slot access protocol.
Overriding these methods is permitted, but may require overriding other methods in the standard implementation of the slot access protocol.
slot-boundp-using-class ((class built-in-class) object slot)
This method signals an error.
Notes
In cases where the class metaobject class does not distinguish unbound
slots, true should be returned.