Member attributes: SuperClass

This attribute determines the base class of a class member.

Syntax

unit‑name::class‑name

Discussion

The attribute SuperClass determines the immediate ancestor of a particular class member. Accordingly, the class is considered as being derived from the specified ancestor - it inherits all members available in the specified ancestor as well as in all further ancestor classes. Inheritance is a fundamental concept of an object-oriented programming systems.

The class name is composed of two identifiers: the name of the unit containing the class definition and the name of the class itself, both separated by :: (double colon). If the attribute SuperClass is not specified, the affected class is considered as not being derived from any other class.

Modify the attribute

To inspect or modify the value of a SuperClass attribute, select first the affected class member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available assistant you can activate by clicking on the button right to the attribute. The assistant lists all classes available in the project: