CINT and virtual base classes

From: Mathieu de Naurois (denauroi@polhp1.in2p3.fr)
Date: Mon Nov 09 1998 - 15:57:36 MET


Hello everybody,


 Does CINT deal properly with virtual base classes?

I defined a chain of classes (for Ray-Tracing)

class TOpticalObject : public TNamed {
....
};

class TPhotomultiplier: virtual public TOpticalObject {
};

The TBrowser says that TPhotomultiplier has 3 base classes:
TOpticalObject, TNamed and TObject, wich is not true. 

And if I try to call

TPhotomultiplier MyPm;
MyPm.Inspect();

I get a segmentation fault.

rootcint has also some difficulties to generate the >> operator for this
class.

Does anybody know if virtual bases classes are allowed in CINT?
Any help would be appreciated.

-----------------------------
Mathieu de Naurois
LPNHE Ecole Polytechnique
denauroi@polhp1.in2p3.fr



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET