27 while ((key = (
TKey*)next())) {
50 printf(
"File code.root does not exist. Run tutorial importCode.C first\n");
53 printf(
"Reading file ==> code.root\n");
54 printf(
"File size in bytes = %lld\n",
f->GetEND());
55 printf(
"File compression factor = %g\n",
f->GetCompressionFactor());
62 printf(
"Number of cxx,c,cc files = %d\n",nc);
63 printf(
"Number of C files = %d\n",
nC);
64 printf(
"Number of Python files = %d\n",
npy);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Describe directory structure in memory.
virtual Bool_t cd()
Change current directory to "this" directory.
virtual TList * GetListOfKeys() const
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
Book space in a file, create I/O buffers, to fill them, (un)compress them.
Bool_t IsFolder() const override
Check if object referenced by the key is a folder.
virtual TObject * ReadObj()
To read a TObject* from the file.
Class supporting a collection of lines with C++ code.
const char * GetName() const override
Returns name of object.