Re: f->ls()

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Feb 24 2000 - 15:23:48 MET


Hello Suzanne,
A ROOT file is a tree of directories. ls() is supposed to show the file
structure by using indentation for each new directory level.
In case of one single to level directory, the format is a bit clumsy.
This was one of the first functions that I implemented in 1995.
The output quality should be changed from a debugging facility to
something more functional and more esthetic.

Rene Brun

Suzanne Panacek wrote:
> 
> Hi Rooters,
> why is it that an ls() on a TFile returns these fields? What are they used
> for, and what do they mean?
> Suzanne Panacek
> 
> root [0] TFile *f = new TFile("AFile", "RECREATE");
> root [1] f->ls()
> TFile**         AFile
>  TFile*         AFile



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET