Re: [ROOT] rootcint and shadow classes

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Jul 11 2002 - 12:22:39 MEST


Hi Denis,

I do not see this problem. We have several classes
with enum . see for example TLatex, TLorentzVector, TH1, TGraph.

Could you indicate which version you are using?
Could you send the minimum set of includes (Class1.h, Class2.h)
that we can use to reproduce the problem?

Rene brun

On Thu, 11 Jul 2002, Denis Bertini wrote:

> 
> 
> Hi Rene, 
>  In my case i have declared something like:
> 
>  class Class2 : public Class1 {
>   protected:
>   enum {kSlopeMode,kKickPosMode,kMdcTofMode} fMode;
>   // ... 
> 
>  }; 
> 
>  ( Class1 is a TObject ) 
>  and the dictionnary generation failed. 
>  I had to put a name like:
> 
>  
> 
> class Class2 : public Class1 {
>   protected:
>   enum NAME {kSlopeMode,kKickPosMode,kMdcTofMode} fMode;
>   // ...
>    
>  };
> 
>  and it worked fine . 
>                                        Denis
> 



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET