Derived Complex Attribute
List of: Discussion Topic
Subjects: Attributes
Contents: Kernel

Complex attributes contain pointers that reference other entities. When an attribute contains pointers, copying a body requires some special operations.

The following example modifies the previous "simple color attribute" example to implement a "complex color attribute." This attribute must ensure that the copy, save, and restore functions are conducted correctly. The complex color attribute in this example contains a pointer to the body that possesses the face.
PDF/KERN/03ATT.PDF
HTM/DATA/KERN/KERN/03ATT/0020.HTM