[ROOT] TFolder: examples? and a bug.

From: Brett Viren (bv@bnl.gov)
Date: Tue Jun 26 2001 - 15:39:23 MEST


Hi Rooters,

Are there any simple examples using TFolder?  I don't find any in
test/ or tutorials/.


Also, TFolder::FindFullPathName(const char*) doesn't handle bogus
input gracefully (see command [2]):


  *   Version   3.01/05      25 June 2001   *
...
root [0] TFolder* rf = gROOT->GetRootFolder()
root [1] rf->FindFullPathName("ROOT Files")
(const char* 0x404075c0)"//root/ROOT Files"
root [2] rf->FindFullPathName("blah")

 *** Break *** segmentation violation
Root > rf->FindFullPathName("/blah")
(const char* 0x0)""


Thanks,
-Brett.



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