Re: IgnoreTObjectStreamer

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Tue, 11 Jan 2005 14:49:26 +0100


Hi Thomas,

Your question is not very clear.
When you call TClass::IgnoreTObjectStreamer, this option is set in the meta information (TStreamerInfo) written to the file. When you read the file the option is correctly set in the corresponding TClass.

Rene Brun

Thomas Bretz wrote:
>
> Dear rooters,
>
> what are the moment bofore which I have to call the function above. I
> mean which is the command I'm typically using in my progrem?
>
> I'm asking, because I have encountered the following situation: People
> reading data from a file which was written with IgnoreTObjectStreamer.
> Because it seems, that this information is not stored in the file they
> got a lot of errors, because they didn't call IgnoreTObjectStreamer. Now
> I want to make sure, that it is called by our reading classes
> automatically, so that this cannot be happen anymore. I read somewhere
> in the root manual, that this has to be called before the automatic
> streamer has been created, but I'm not sure which the moment is, the
> streamer is normally created. The constructor of TFile, the setting of
> the branch address or any other command...
>
> Thanks,
> Thomas.
Received on Tue Jan 11 2005 - 14:48:24 MET

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