Hi all,
we are using a baseclass (CTestBase) with a virtual function, e.g.
virtual Set(Int_t n) = 0;
and a second class derived from that base class (CTest). The situation is
much like in TArray/TArrayI with a different array handling. Now we use
the derived class as a data member in another class (CData) and this class
finally as a branch in a tree.
The result is, that in TBrower, we see CTest as a data member of
CData, but not the data members of CTest itself.
But: Giving the purely virtual function an implementation, thus
virtual Set(Int_t n) {};
the situation improves a lot: also the data members of CTest are displayed
in TBrowser.
What is the reason for that behaviour? I also have other base classes
with '=0' definitions, but I didn't observe that behaviour before.
Is there any way to fix this?
Best regards,
Volker
--
Dr. Volker Hejny Tel: 02461/616853 **
Institut f. Kernphysik Fax: 02461/613930 **
---------------------------------------------------------------- ** ** ---
Forschungszentrum Juelich GmbH, D-52425 Juelich **
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:09 MET