Re: TDirectory question

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Wed May 20 1998 - 16:08:00 MEST


Hi Hajo,

   you are right. I'll change the current cd() and Cd() functions to return
a boolean indicating succes or failure.

Cheers, Fons.


mayer@ik1.fzk.de wrote:
> 
> Hello!
> 
> Is there any simple way to check, wether a certain path, e.g.
> file.root:/baba/bobo, does already exist in a root file with directory
> structure? I think TDirectory::cd1() would make the job, however it is a
> protected member function. Or how can I use this function without having the
> compiler complaining?
> 
> Regards, Hajo

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910



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