class-reference type

Top  Previous  Next

What is partially translated > class-reference type

 

In Delphi operations can be performed on a class itself, rather than on instances of a class. With TClass references to classes can be declared and used. CBuilder has as counterpart to Delphi's TClass:

 

 

typedef TMetaClass* TClass

 

 

Beginning with version 1.4.5 the installation of the professional Version contains substitutes for TObject and TMetaClass, which was developed especially for Delphi2Cpp. By these classes much of the Delphi Meta capabilities can be simulated. But still some of the possibilities of Delphi to operate with such class references are not translated correctly by Delphi2Cpp or even cannot be translated at all.

In the professional version of Delphi2Cpp the macros DECLARE_DYNAMIC and  IMPLEMENT_DYNAMIC can help.

 



This page belongs to the Delphi2Cpp Documentation

Delphi2Cpp home  Content