Re: [ROOT] Checking inheritance

From: Anton Fokin (anton.fokin@smartquant.com)
Date: Thu Nov 01 2001 - 12:54:25 MET


Hehe, will crash if MyClassA doesn't exist...

"Bad design" :))

Regards,
Anton

Thomas Bretz wrote:

> Hi Anton,
>
> I guess you can Do
> gROOT->GetClass("MyClassA")->InheriheritsFrom("MyClassB");
>
> Regards,
> Thomas
>
> Anton Fokin wrote:
> >
> > I would like to do something like
> >
> >   ::InheritsFrom("TMyClass", "TMyAnotherClass");



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET