Dear ROOTers,

I have an application where a dictionary is created by rootcint. Before the actual creation there is an automatic G__XXXXX_LinkDef.h file creation that contains all the class names derived from corresponding .h files. This works fine but in addition I would like to add my own lines to this file, lines that correspond e.g. to template classes. Is there a way to generate automatically this file and append also some information from an existing “LinkDef.h” file? Is there maybe another way of producing dictionary info for template classes than using the documented #pragma link C++ MyClass; ? Both could be nice solutions. Thanks in advance,



you could add e.g.#ifdef __MAKECINT__ #pragma link C++ class MyClass<float>+; #endifinto your header, after the definition of that class.

Cheers, Axel.