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