![]() | ![]() | ![]() | unduplicated-slot-names | ![]() |
|
| instance => unduplicated-slot-names | [Generic Function] |
Purpose
Add slot names of a class to the list of slots that
are not duplicated by make-duplicate-instance.
Method signatures
(instance standard-object)
=> nil |
(instance standard-space-instance)
=> unduplicated-slot-names
|
(instance standard-unit-instance)
=> unduplicated-slot-names
|
Package :gbbopen-tools (re-exported by :gbbopen)
Module :gbbopen-tools (the unit-instance and
space-instance methods are added by :gbbopen-core)
Arguments and values
| instance | A standard-object instance
| |
| unduplicated-slot-names | A proper list |
Returns
A list of unduplicated slot names for the class of
instance.
See also
make-duplicate-instance
Example
Specify that slot complex-unsaved-slot in my-unit-instance
should be added to the list of slots that are not duplicated by
make-duplicate-instance:
(defmethod unduplicated-slot-names ((instance my-unit-instance))
(cons 'complex-unsaved-slot (call-next-method)))
The GBBopen Project
![]() | ![]() | ![]() | unduplicated-slot-names | ![]() |