Class TBase (unit Base)

Inherits from

TObject

Constructors


constructor Create(const Info: TBaseCreateInfo);

...} {The class contructor must have a TBaseCreateInfo (derived class may need it) and call the IncInstance method of the unit level instance of TDeriver.


Functions

class function DerivedClass(const Info: TBaseCreateInfo): TBaseClass;

The class method DerivedClass must be defined to cast the generic DerivedClass method of TDerived to this class class reference.

destructor Destroy;

The class destructor must call the DecInstance method of the unit level instance of TDeriver.

class procedure Register;

...

The class method Register must be defined to permit the derived classes to register themself without any direct reference to the unit level instance of TDeriver and to pass automatically the correct registration parameters.


class function Match(const Info: TObject): Boolean;

...

The class method Match is required to examin creational infos. If they match the requirements for this class true is returned.


Properties

Events

Variables


Constructors


constructor Create(const Info: TBaseCreateInfo);

...} {The class contructor must have a TBaseCreateInfo (derived class may need it) and call the IncInstance method of the unit level instance of TDeriver.


Functions


class function DerivedClass(const Info: TBaseCreateInfo): TBaseClass;

The class method DerivedClass must be defined to cast the generic DerivedClass method of TDerived to this class class reference.


destructor Destroy;

The class destructor must call the DecInstance method of the unit level instance of TDeriver.


class procedure Register;

...

The class method Register must be defined to permit the derived classes to register themself without any direct reference to the unit level instance of TDeriver and to pass automatically the correct registration parameters.


class function Match(const Info: TObject): Boolean;

...

The class method Match is required to examin creational infos. If they match the requirements for this class true is returned.


Properties


Events


Variables