xHarbour Reference Documentation > Class Reference (textmode) |
Abstract base class for user-defined classes.
The HBObject() class serves as base class for all other built-in and user-defined classes declared with the CLASS statement. This class has no member variables but only methods required for creating instances, or objects, of a class (note: an instance is an object of a class).
All methods of HBObject() can be called in user-defined classes. They define a standard behaviour required in all classes. This standard behaviour can be changed in user-defined classes when methods of HBObject() are re-declared in a new class and re-implemented.
Note: the most commonly re-defined method in user-defined classes is the :init() method.
See also: | CLASS, DATA, ERROR HANDLER, METHOD (declaration) |
Category: | Object functions , xHarbour extensions |
Source: | rtl\tobject.prg |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com