Re: TObject::Write() - OverWrite - discussive
Rene Brun (Rene.Brun@cern.ch)
Fri, 05 Jun 1998 19:08:48 +0200
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