Re: TDirectory inheritance
Rene Brun (Rene.Brun@cern.ch)
Fri, 03 Apr 1998 17:01:55 +0200
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