Re: [ROOT] Re: ROOT] LAST CALL for comments before closing ROOT version 3.02

From: Thomas Bretz (tbretz@uni-sw.gwdg.de)
Date: Tue Dec 11 2001 - 11:26:53 MET


Hi all,

as a read your eMail I remember that I have also trouble with
TObject::Clone().

I have two classes:
class A : public TObject { TObjArray *arr; ClassDef(A,1) } and
class B : public TObject { TH1F *hist; }

The TObjArray holds object of type B. In some cases I call A::Clone()
this worked (I guess until 3.01) But now it doesn't work anymore, I get
an empty TObjArray with 0 entries, so that I had to overwrite the Clone
function.

Maybe this helps,
Thomas.

> I am also experiencing problems with the I/O in version 3.02/06.
> Somehow writing of instances of one of my private classes fails with
> 3.02/06 using the new schema evolution, whereas with the old streamer
> method (i.e. no "+" in the Linkdef.h) everything works correctly.
> I get the impression that the problem(s) are related to TObject::Clone(),
> which uses the I/O streamers as far as I understnad.
> I am still investigating things, but I also think that it would be
> better to wait a bit before making 3.02/06 the pro version.



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:11 MET