![]() | ![]() | ![]() | make-instances-of-class-vector | ![]() |
|
| function
&key adjustable | [Function] |
Purpose
Return a (newly allocated) vector containing the
unit instances of the specified unit classes.
Package :gbbopen
Module :gbbopen-core
Arguments and values
| adjustable | A generalized boolean (default is nil)
| |
| vector | A vector (optionally adjustable) with a fill pointer |
Returns
The vector containing the unit instances.
Detailed syntax
|
| t |
single-unit-class-specifier
| (single-unit-class-specifier+) |
|
| atomic-unit-class |
(atomic-unit-class subclassing-specifier) |
|
| unit-class | unit-class-name |
|
| :plus-subclasses | :no-subclasses |
+ | = |
The shorthand + subclasses specifier is equivalent to
:plus-subclasses and = to :no-subclasses.
See also
do-instances-of-class
find-instances-of-class
map-instances-of-class
map-sorted-instances-of-class
Example
Create a vector containing all unit instances of the
unit class hyp and subclasses of hyp:
(make-instances-of-class-vector '(hyp :plus-subclasses))or simply:
(make-instances-of-class-vector '(hyp +))
The GBBopen Project
![]() | ![]() | ![]() | make-instances-of-class-vector | ![]() |