Re: TDirectory inheritance

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Apr 03 1998 - 17:01:55 MEST


William J Deninger wrote:
> 
> Hello,
> 
> Is is possible to have a class (say X) inherit TDirectory and still be
> accessible as its class type (X) with TDirectory functionality when
> written to a TFile?  I'm finding that once I close and reopen the
> file, the Class X object is gone and only the TDirectory portion
> remains.  How should I approach this problem?

With the current version, you should not derive from TDirectory.
However, this could be useful.
I have modified the class TDirectory such that derivation
will be possible.

Rene Brun



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