![]() | ![]() | ![]() | instance-name-of | ![]() |
| unit-instance
| [Generic Accessor] |
Purpose
Return the instance name of a unit instance.
Setf syntax
|
instance) instance-name)
|
Method signatures
( unit-instance standard-event-instance)
=> instance-name
|
( unit-instance standard-unit-instance)
=> instance-name
|
Package :gbbopen
Module :gbbopen-core
Arguments and values
unit-instance | A unit instance or an event instance | |
instance-name | An object |
Returns
The instance name of the unit-instance.
Errors
The supplied instance-name provided to
See also
make-instance
Examples
Return the instance names of the unit instances supporting
hyp
unit instance 180
:
> (mapcar #'instance-name-of (supporting-hyps-of (find-instance-by-name 'hyp 180))) (123 158 94) >Change the instance name of
hyp
180
to
"bogus-180"
> (setf (instance-name-of (find-instance-by-name 180 'hyp)) "bogus-180") "bogus-180" >
The GBBopen Project
![]() | ![]() | ![]() | instance-name-of | ![]() |