Simulating Delphi Meta cpapbilities


The Meta RTTI capabilities of Delphi, which are partly reproduced by the C++ expansions of the C++ Builder, which however are not available for other compilers, can be simulated with a TObject class, which was developed especially for Delphi2Cpp. class methods, such as "ClassName" and "InheritsFrom", are available with that. There is even the possibility of producing objects of the respectively required type with a virtual "Create" method.

Also for the C++ Builder there is this possibility:
Delphi2Cpp can provide that a class which originally is derived from TObject of the C++ Builder VCL, is derived from a class TD2CObjekt in the translated code instead. TD2CObjekt has this "Create" method.

(The TObject/TD2CObject classe are delivered with the professional version of Delphi2Cpp only.)


   deutsch Deutsch

 
Latest News
09/03/15
Delphi2Cpp 1.7.0 New translation options [more...]

01/30/12
Delphi2Cpp 1.6.3 Better construction of objects [more...]



"We successfully used your tool for migrating our code base to C++."


Roel Vliegen
magnaview 09/21/2015



[from case study...]

"A masterpiece -- Delphi2Cpp has exceeded all my expectations by far."


Tony Hürlimann
virtual-optima 08/20/2011



"First off, I have to say WOW! Delphi2Cpp is doing a *fantastic* job!"


Daniel Flower
linkrealms 01/15/2011


 
This website is generated from plain text with [Minimal Website ]

Minimal Website
Minimal Website is made with TextTransformer

TextTransformer
TextTransformer is made with Borland CBuilder

  borland