[ROOT] RE:Enhancement whish

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Thu May 11 2000 - 16:44:32 MEST


Dear Goetz Gaycken,

Thank you for sending me the request. I implemented following pragma in
cint5.14.38.

  #pragma link [C|C++|off] function [scopename]::[funcname]([argtypes]);

You can specify scope with '#pragma link -- function'. Other things are
same as before. 

Now, will you explain a little more about the second one. 

  #pragma link C++ off class function A<B>::operator*();

Thank you
Masaharu Goto

>
>Dear Masaharu Goto,
>
>CINT is evolving nicely, and one gets used to the
>rich feature set already offered by the interpreter
>and dictionary generator. However, one thing I'd like
>to see in cint (as dictionary generator) is something like:
>
>#pragma link C++ function A<B2>::A(A<B2> &value);
>
>and 
>
>#pragma link C++ off class function A<B>::operator*();
>
>regards,
>  Goetz Gaycken
>
>
>---------------
>Example:
>
>class B
>{
>private:
>        operator&();
>public:
>         B();
>        ~B();
>        DoSomething();
>};
>
>template <class B>
>class A 
>{
>private:
>        B *fPtr;
>public:
>        A(A &value);
>        A(A<B2> &value);
>        ~A();
>        const B *operator->() const {return fPtr;};
>};
>
>------------------------------------------------------------------------
>Goetz Gaycken                   II Institut fuer Experimentalphysik
>TEL: +49-40-8998-3426           Universitaet Hamburg
>FAX: +49-40-8998-3094           Luruper Chaussee 149, D-22761 Hamburg
>



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:25 MET