Re: [ROOT] rootcint and shadow classes

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jul 10 2002 - 23:21:16 MEST


Hi Denis,


On Wed, 10 Jul 2002, Denis Bertini wrote:

> 
>  Hi Rooters,
>  
>  I noticed that with ROOT v 3.03/06 the generated dictionnary implements
>  now shadow classes. 
>  So two remarks:
>  1) I encounter a small problem when a class defines a enum variable
>     without specific "enum name", the generated dictionnary files doesn't
>     compile anymore. One needs to put a enum name and it's working again

Do you mean an enum in a foreign not-Root instrumented class?
Unnamed enums are working correctly with rootcint (see TObject.h for
example).

> 2) To which extend one's can now derive from compiled classes within
>     the interpreter using this new shadow class mechanism?
>     what are the limitations? 
>  
No difference if it is a foreign class or not.
You can in principle derive from a compiled class if the interpreted
class does not redefine virtual functions of the compiled class.

Rene Brun


>
Denis 
>  
>                                               
> 



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