... suggestion for enhancment

From: Valeriy Onuchin (onuchin@emcal06.rhic.bnl.gov)
Date: Thu May 28 1998 - 16:44:55 MEST


Hello Rooters! 

 I have  a class MyDirClass inherited from TDirectory
and tree structure of such objects in TFile.
Written once  this file can not be read again.

 The possible solution of this problem
in correction of TObject::Write() (see TObject source)

substituting the string 

   if (IsA() == TDirectory::Class()) {

by  
   if (InheritsFrom("TDirectory")) {

    




             Good luck to everybody!     Valery



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET