RE: TEnv

From: Faine, Valeri <fine_at_bnl.gov>
Date: Thu, 28 Jul 2005 17:32:38 -0400


Hello Thomas,
 It seems to me you can call ~TEnv as any other class method.

 Try
  TMyEnv::CleanTable() { TEnv::~TEnv(); }

It should work.



Best regards
                   Valeri


> -----Original Message-----
> From: owner-roottalk_at_pcroot.cern.ch

[mailto:owner-roottalk_at_pcroot.cern.ch] On
> Behalf Of Rene Brun
> Sent: Thursday, July 28, 2005 4:15 PM
> To: Thomas Bretz
> Cc: roottalk_at_pcroot.cern.ch
> Subject: Re: [ROOT] TEnv
>
> Thomas,
>
> I am not sure to understand your request.
> TEnv destructor is public.
>
> Rene Brun
>
> On Thu, 28 Jul 2005, Thomas Bretz
> wrote:
>
> > Hi,
> >
> > it would be great if you would put the code in the destructor of
TEnv into a
> > protected member function so that it can be called from the
constructor of
> > derived classes.
> >
> > Thanks,
> > Thomas.
> >
Received on Thu Jul 28 2005 - 23:41:46 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET