Re: root extension

Yassin Mohamed Osman (yassino@viennasys.com)
Thu, 11 Jun 1998 13:59:51 -0400


Ok I see what is happening now. But imagining that I will have to place this
code (which can fairly be automated) to every class (the library I am
planning to use is huge) I use does not appeal to me. Can we extend rootcint
so that when a certain flag is set it will output a xxx_imp.cc & a xxx_def.h
that will be fed to my compiler. It could also do some syntactic checks just
to make sure.

-----Original Message-----
From: Valery Fine <fine@bnl.gov>
To: Yassin Mohamed Osman <yassino@viennasys.com>
Cc: roottalk@hpsalo.cern.ch <roottalk@hpsalo.cern.ch>
Date: Thursday, June 11, 1998 1:23 PM
Subject: Re: root extension

:Dear Yassin Mohamed Osman
:On 11 Jun 98 at 12:40, you wrote:
:
:> If I want to extend root with my own shared library how do I go
:> about ? I have seen the tutorial where you simply say
:> gSystem.Load("xxx.dll"). Then You use the class directly. But that
:> is for a class derived from TObject. What about my own classes ?
:>
:
: This is right for ANY class.
:
: Page \\HEPBURN\Common\P32\Root\RootHtmlDoc\Using.html
:
: explaines how to get the EXTRA features of ROOT system.
:
: The only thing you should do is to create a so-called dictionary
:for your classes (which is a C++ code), compile your classes and that
:dictionary and put all of them together inside of that DLL. That's
:all.
:
: See root\test\Makefile how to create the dictionary for Windows
:
: Hope this helps,
: Valery
:=================================================================
:Dr. Valeri Faine (Fine)
: ------------------- Phone: +1 516 344 7806
:Brookhaven National Laboratory FAX : +1 516 344 4206
:Bldg. 510A /STAR mailto:fine@bnl.gov
:Upton, New York, 11973-5000 http://nicewww.cern.ch/~fine
:USA
:
:Dr. Valery Fine Telex : 911621 dubna su
: -----------
:LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
:141980 Dubna, Moscow region Fax : +7 09621 6 51 45
:Russia mailto:fine@main1.jinr.dubna.su
: