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