Meta capabilities |
Top Previous Next |
User interface > Translation options > Type options > Meta capabilities
Create meta classes
If the option Create meta classes is enabled at the type options, Delphi2C# creates for each class on demand an instance of additional meta class (= class reference type). These class reference instances can be used for factory functions, to create different class types in dependence of the class reference parameters. These class reference instances also are needed if overridden virtual class methods have to be used.
To enable this option has drawbacks however. More manual post-processing will be necessary. One reason for that is, that a creation of class instances from class references is possible only, if the class has a standard constructor. |
This page belongs to the Delphi2C# Documentation |
Delphi2C# home Content |