Re: TObject::Write() - OverWrite - discussive

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jun 05 1998 - 19:08:48 MEST


Valeriy Onuchin wrote:
> 
> Hello Rooters!
> 
>  TObject::Write() method does not  provide
>  Overwrite/Update functionality, each time you write TObject
>  new TKey is created and written to TFile.
> 
>   Of course I can simply delete TObject/TKey from TFile
>   and write it again,  or write my own method Overwrite() for
>   my  application.
>   But it seems to me the problem is more general -
>   TObject::Write() method doesn't have options (Write(,,option)).
> 
>   My question - if overwrite  functionality of TObject::Write()
>   method be implemented in the future?
> 
>                      With best regards,    Valery.

This option could be implemented using the second argument
of TObject::Write. I will see what I can do.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET