RE: [ROOT] Multiple inheritance and ROOT files

From: Philippe Canal (pcanal@fnal.gov)
Date: Tue Jun 10 2003 - 20:31:29 MEST


Hi,

The feature: 'inspecting via the GUI an object of a class which does 
not inherit 'left-most/first' from TObject' has not been implemented 
yet.  This should be implemented later this summer.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Pierre-Luc Drouin
Sent: Monday, June 09, 2003 1:01 PM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Multiple inheritance and ROOT files


I've a class 'C' that is derived from class 'A' and from class 'B'. The
class 'A' is derived from TObject but it's not the case for class
'B'. When the declaration of my class 'C' is

class C: public A, public B

I'm able to write an instance if class C in a ROOT file. However when the
declaration is

class C: public B, public A

Root crashes.

Is there this kind of restriction in Root with multiple inheritance?

Thank you!

Pierre-Luc Drouin



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET