| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (6 out of 6)

Attribute Access System Procedures

The attribute access system procedures are introspective in that they describe an item's internal structure, including:

One system procedure returns the current values of an item's attributes.

These are the system procedures to use in conjunction with the attribute access facility:

g2-get-attribute-descriptions-of-class 
(class-name: symbol, specific-attributes: value)
-> attribute-descriptions: sequence
Returns a sequence of the attribute descriptions of the given attributes for a class.

g2-get-attributes-visible-in-mode 
(class-or-item: item-or-value, user-mode: symbol)
-> list-of-attributes: sequence
Returns a sequence of the attributes that are visible in a particular mode.

g2-get-attribute-values-of-item 
(itm: class item, specific-attributes: value)
-> attribute-values: structure
Returns a structure of the current values of the class attributes that you provide.

g2-get-attribute-texts-of-item 
(itm: class item, specific-attributes: value)
-> attributes-as-text: structure
Returns a structure of the textual representation of the class attributes that you provide.

| Prev | Next | Start of Chapter | Next Chapter | Contents | Glossary | Index | Comments | (6 out of 6)

Copyright © 1997 Gensym Corporation, Inc.