Re: reflex with TObject+ClassDef classes

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Tue, 12 Oct 2010 20:40:11 -0500

> that is apparently declared in ClassDef(), namely:

Actually it is not declared in ClassDef but in ClassImp.

When you move to a reflex dictionary, you can no longer use ClassImp (and thus can no longer generated the documentation via THtml).

Cheers,
Philippe.

On 10/12/10 4:29 PM, Brett Viren wrote:
> Hi,
>
> Using: ROOT 5.26/00b on 64 bit Sci.Linux, GCCXML 0.9.0_20100428 and
> g++ 4.3.2.
>
> I'm trying to switch a ROOT application from using rootcint to using
> Reflex dictionaries. The application code is linked to one shared
> library holding the TObject-based classes and another with the Reflex
> dictionaries. The code is built using LCGCMT and in particular
> generates the dictionaries via the "reflex_dictionary" CMT pattern.
>
> Now, my problem:
>
> The Reflex dictionaries provide all required symbols except one method,
> that is apparently declared in ClassDef(), namely:
>
> ROOT::GenerateInitInstance(WCSimRootCherenkovHit const*)'
>
> Here WCSimRootCherenkovHit is one of the TObject-based classes in
> question. Checking back to the old rootcint generated dictionary code I
> see it indeed provides these methods.
>
> A bit of searching provided some relevant info[1][2], but nothing that
> helped.
>
> Any ideas?
>
>
> Thanks,
> -Brett.
>
> [1] http://root.cern.ch/root/v524/Version524.news.html
> Which states: "Reflex: Full support for ClassDef() macros with the full
> benefits of faster I/O due to a direct access instead of a search in a
> map for writing out objects."
>
> [2] http://root.cern.ch/root/roottalk/roottalk09/1116.html
> Which states: must have ClassDef() based on TObject.
Received on Wed Oct 13 2010 - 03:40:17 CEST

This archive was generated by hypermail 2.2.0 : Wed Oct 13 2010 - 23:50:02 CEST