Re: [ROOT] store/restore current filedir

From: Valery Fine (fine@bnl.gov)
Date: Sat Feb 24 2001 - 18:17:56 MET


> Hi Rene and rooters,
> 
> I think it would be convinient if you add
> StoreCurrenttFileDir()/RestoreCurrentFileDir() (global?) functions since
> they are used in near any operation with TFile->cd().

  I think it should be

  PushCurrenttFileDir()/PopCurrentFileDir() 

May be:

        static TDirectory::PushDir()
        static TDirectory::PopDir()

        static TFile::PushDir()
        static TFile::PopDir()

  Regards,
                     Valeri



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:37 MET