[ROOT] Streamer Warning (Class Version)

From: Thomas Bretz (tbretz@astro.uni-wuerzburg.de)
Date: Fri Jan 30 2004 - 11:46:16 MET


Dear all,

I had a construction like this:

class A : public TObject { ClassDef(A, 0) }
class B : public A       { ClassDef(B, 0) }
class C : public B       { ClassDef(C, 1) }

Now I have changed it to
class A : public TObject { ClassDef(A, 0) }
class B                  { ClassDef(B, 0) }
class C : public A, public B { ClassDef(C, 1) }

In both cases I call A::Class()->IgnoreTObjectStreamer();

When loading old files storing C I get told, that class B has changed - 
which is correct but should not matter, because it was not stored 
anyhow, but than I get asked to increase the version number from 0 to 1 
- which seems to be nonsense.

Is this a bug or a feature?

Thanks,
Thomas.



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET