Re: Reflex dictionaries with class with TObject base, wrong ClassName()

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Wed, 2 Jul 2008 20:59:45 +0200


Hi Brett,

you cannot use genreflex on classes deriving from TObject. None of the functions declared as part of the ClassDef macro will be implemented. But using ClassDef is a prerequisite for classes deriving from TObject. Just use rootcint instead of genreflex.

Cheers, Axel.

On 2008-07-02 17:29, Brett Viren wrote:
> Hi RootTalk.
>
> I have a class (TTemporalDataObject) with a TObject base and using
> Reflex to generate the dictionaries.
>
> If I do:
>
> TTemporalDataObject::Class()->GetName();
>
> It returns "TObject" and not "TTemporalDataObject".
>
> My initial question is: should Reflex dictionaries be providing the
> correct name here or is the returned "TObject" string expected?
>
> Thanks,
> -Brett.
>
>
Received on Wed Jul 02 2008 - 20:59:55 CEST

This archive was generated by hypermail 2.2.0 : Fri Jul 04 2008 - 11:50:02 CEST