A function of no arguments that should return a sequence of items in the collection. This function is called by the implementation of
and the sequence is copied. Exactly one of
must be specified.
A function of no arguments that should return an
, which will generate the items in the collection. See below for more details. Exactly one of
must be specified.
A function which takes a single argument, an integer or a string specifying an item. The function should return the item specified. This initarg is required if the :
option is non-nil in
provides a framework for implementing Automation collections. These typically provide a
property giving the number of objects in the collect, a
property for iterating over the element of the collection method and optionally an
method for finding items by index or name.
is specified, then it will be called once when
is called and should return a sequence of the items in the collection. This sequence is copied, so can be modified by the program without affecting the collection.
is specified, it should be an
that will generate all the items in the collection. It will be called once with the argument
is called and then by the implementation of the resulting
is a function of one argument which specifies what to do:
Return two values: the next item and
. If there are no more items, return
If there are no more items, return
. Otherwise skip the current item and return
Reset the generator so the first item will be returned again.
Return a copy of the item generator . The copy should have the same current item.
initarg should be function to convert each item returned by the
or the item generator into a value whose type is compatible with Automation (see Automation types, VT codes and their corresponding Lisp types). The default function is
LispWorks COM/Automation User Guide and Reference Manual - 19 Dec 2011