Dear ROOTers,
is possible with the ROOT RTTI to have an istance of a class starting from the name of the class in a string?
I mean: I don’t know a priori the class I need. At runtime I read this info from a file, so I have the name of the class in a string, and i want to create an istance of this class.
I know that you can do it in Java in a rather simple way, but in Java all this stuff is included in the language itself (all classes implicitely derives from the common base class “object” and so on…)
In fact I don’t even know if it is possible in c++ …
Thank you
Matteo