Package Documentation

Object: QUANTIFICATION (The :GENDL Package)
Mixins: VANILLA-MIXIN

Description

A quantification is an aggregate created as a result of specifying :sequence (:size ...)) or :sequence (:indices ...)) in an :objects specification. Usually, the elements of a quantified set are referenced by using extra parentheses around the message in the reference chain and using the index number. But the aggregate itself also supports certain messages, documented here. One message, number-of-elements, is not listed in the normal messages section because it is internal. It can be used, and returns an integer representing the cardinality of the aggregate.


Input Slots (optional)

HIDDEN? [from VANILLA-MIXIN*] boolean

Indicates whether the object should effectively be a hidden-object even if specified in :objects. Default is nil.


ROOT [from VANILLA-MIXIN*] gdl instance

The root-level node in this object's ``tree'' (instance hierarchy).


SAFE-CHILDREN [from VANILLA-MIXIN*] list of gdl instances

All objects from the :objects specification, including elements of sequences as flat lists. Any children which throw errors come back as a plist with error information


STRINGS-FOR-DISPLAY [from VANILLA-MIXIN*] string or list of strings

Determines how the name of objects of this type will be printed in most places. This defaults to the name-for-display (generally the part's name as specified in its parent), followed by an index number if the part is an element of a sequence.


VISIBLE-CHILDREN [from VANILLA-MIXIN*] list of gdl instances

Additional objects to display in Tatu tree. Typically this would be a subset of hidden-children. Defaults to NIL.



Computed Slots

FIRST gdl object

Returns the first element of the aggregate.


INDEX [from VANILLA-MIXIN*] integer

Sequential index number for elements of a sequence, NIL for singular objects.


LAST gdl object

Returns the last element of the aggregate.


Package Documentation