Re: [ROOT] How to Call CERNLIB routines from the interpreter

From: Pasha Murat (630)840-8237@169G ((630)840-8237@169G)
Date: Tue Jan 09 2001 - 18:58:03 MET


"Jacek M. Holeczek" wrote:
> 
> Hi,
> Please find attached my proposed "standard" method of gluing external non
> C/C++ functions with ROOT/CINT.
> This method should also work on Windoze.
> Please test it, modify what is needed and later one could link it on the
> HowtoCERNLIB.html www page.
> Best regards,
> Jacek.


> P.S. I could imagine that instead of the "TF77" CLASS one uses a
>      "TF77" NAMESPACE. Any pro/contra-s ? Jacek.

calling FORTRAN from C++ sometimes involves getting pointers to the FORTRAN common-blocks
first, i.e. an initialization step. This may look more elegant if implemented in a class 
constructor. Also namespace (via using) is something one need to remember about (if there 
is a need in using the namespace), class name makes the namespace automatically and you 
dont have a chance to miss or misspell it...
							best, pasha



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:33 MET