Re: call to Streamer

From: Rene BRUN <rene.brun_at_cern.ch>
Date: Thu, 10 Feb 2005 15:25:29 +0100


Gero,

If you have MyClass *obj and obj is given as a top Tree branch in split mode, then MyClass::Streamer is not called.

Rene Brun

Gero Flucke wrote:
> Hi,
> I have a question concerning the call to a non-autogenerated streamer
> when writing a class to a file (as a part of a TTree):
>
> Is it possible that under certain circumstances the Streamer is NOT
> called?
> The problem is that in one of our classes some action that should be done
> in the Streamer is already done somewhere else. Digging in our CVS I found
> an old comment from oct. 2001:
>
> "...because ROOT does not always call the streamer"
>
> So, can it still happen with the current ROOT version (>= 4.00_08) that
> the streamer is not called when writing an object?
>
> Cheers
>
> Gero
>
>
>
> --
> -----------------------------------------------------------------------
> Gero Flucke
> 1a / 603
> DESY
> Notkestr. 85
> 22607 Hamburg
> +49-(0)40-8998-2454
>
Received on Thu Feb 10 2005 - 15:25:34 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET