![]() | ![]() | ![]() | deleted-instance-class | ![]() |
|
| [Generic Function] |
Purpose
Return the class to be used for a deleted
unit instance.
Method signatures
(unit-instance standard-unit-instance)
=> #<standard-class deleted-unit-instance> |
Package :gbbopen
Module :gbbopen-core
Arguments and values
| unit-instance | The unit instance (or space instance) to be deleted | |
| class | A class or a non-nil, non-keyword symbol that
names a class (the default method returns the class
|
Returns
The class or symbol naming the class to be used as
the changed class for the deleted instance.
Description
This generic function is called by
See also
delete-instance
deleted-unit-instance
Example
Define a class to be used for deleted hyp
unit instances and a deleted-hyphyp (and
subclasses of hyp) unit instances:
> (define-class deleted-hyp (deleted-unit-instance)
(location
classification
supporting-hyps)
#<standard-class deleted-hyp>
> (defmethod deleted-instance-class ((hyp hyp))
(load-time-value (find-class 'deleted-hyp)))
deleted-instance-class
>
The GBBopen Project
![]() | ![]() | ![]() | deleted-instance-class | ![]() |