[ROOT] Checking inheritance

From: Anton Fokin (anton.fokin@smartquant.com)
Date: Thu Nov 01 2001 - 10:45:44 MET


Hi people,

I would like to do something like

  ::InheritsFrom("TMyClass", "TMyAnotherClass");

which as you see checks if TMyClass inherits from TMyAnother class and
takes class names as arguments.

Is it possible? If not, I think it would be a useful RTTI CINT
extension.

Cheers,
Anton



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