Hello rooters, I am a little bit confused about the streamer function associated with multiple inheritance. My understanding was that one has NOT to write a streamer function when a class inherits from TObject, and that one HAS to write it when it does not inherit from TObject. Now take the class TSHAPE, for instance. It has multiple inheritance from classes TNamed, TAttLine and TAttFill. As TNamed inherits from TObject, I find normal that there is no streamer function in the source code of TNamed. But TAttLine and TAttFill do not inherit from TObject, and there is no streamer function in the source code of TAttFill and TAttLine. Is the dictionnary generator so smart that it is enough that only one of the 3 classes building TShape inherits from TObject to generate a correct streamer function for TShape ? Thanks for your help. F.X. Gentit DAPNIA/SPP CEN Saclay tel : 01 69 08 30 38
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET