What it mean? This is somethink like this (I saw somewhere, but don't know how it working):
TClassOfBase = class of TBaseClass
Delphi-Quellcode:
TBaseClass = class;
TSomeClassA = class(TBaseClass);
TSomeClassB = class(TBaseClass);
//(TSomeClassA and TSomeClassB) are base for any class I'm working with it).
I have TClass1(TSomeClassA), TClass2(TSomeClassB), etc. How it should be done to avoid many thousends if-then-else?
Could you explain me, because I don't understand?