Class Abstract() Foundation

Abstract class providing a common interface for all other classes.

Description

This class is "the mother of all classes" and provides a common interface for all Xbase++ classes. The class name Abstract reveals the class's nature: it is an abstract class that can neither be instantiated nor can it be inherited from on the PRG code level. All Xbase++ classes, however, can take advantage of methods and member variables available in the Abstract class.

Methods of this class can be used to obtain information about a class and its superclasses, or are available for special purposes, such as notifications, for example.

Class methods

Methods in this group are always executed by the class object. However, they may be invoked via an instance object which directs a class method call to the class object.

:classDescribe()
Reflects the class definition
:className()
Retrieves the name of the class an object belongs to.
:classObject()
Retrieves the class object of a class.
:initClass()
Method for class object initialization.
:isDerivedFrom()
Checks if an object belongs to or is derived from a particular class.
:new()
Creates instances of a class.
Instance methods

Methods in this group cannot be executed by a class object but only by its instances.

:init()
Method for instance object initialization.
:eval()
Evaluates a code block.
:set/getNoIVar()
Handles access and assign operations to undefined instance variables.
:noMethod()
Handles calls to undefined methods
:notify()
Receives notifications from DatabaseEngines
:notifyLoaded()
Handles persistency issues.
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.