Hi Thomas,
Yes, easy if you have processed your class to rootcint.
You can do:
TXYZ *obj = (TXYZ*)TXYZ::Class()->New();
The Class static member function is automatically generated
when you declare ClassDef(TXYZ,1) in your header file.
Rene Brun
Thomas Bretz wrote:
>
> Hello Rooters,
>
> is there a way to create an object with something like
> TXYZ *obj = gXXX->New("TXYZ");
>
> Thanks,
> Thomas.
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:36 MET