src/swipl-devel/packages/xpce/man/refmanual/md/attribute.md

class attribute {#class-attribute}

An attribute object is a mapping from a <-name to an <-value. Attributes are used by class sheet to form a list of attribute-value pairs and by class object to associate object ->attributes to objects (object-level programming).

An attribute is a subclass of class program_object, allowing the programmer to spy attribute assignment and attribute fetch operations. See program_object ->trace and friends.

@see object<-all_attributes @see object->attribute @see class interceptor @see class sheet

Instance variables {#class-attribute-instvars}

Send methods {#class-attribute-send}

Get methods {#class-attribute-get}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.