Which objects are stored by TFile::Write()?

Robert Casties (casties@desy.de)
Fri, 30 May 1997 17:38:43 +0200 (MET DST)


Hello!

Is there any scheme explaining which objects are stored by TFile::Write()
and which have to be written by the object's ->Write()?

I (after quite some time) found that e.g. TH1's are written
automatically and TText's aren't.

The TFile reference says on Write():
[...]
*-* Loop on all objects in memory (including subdirectories)
*-* A new key is created in the KEYS linked list for each object
*-* The list of keys is then saved on the file (via WriteKeys)
*-* as a single data record
[...]

What is meant by 'all objects' in this case?

Thanks
Robert