Hi Matthieu, I should write a FAQ with this type of question. No, it is not possible to specify a class member function in the TF1,TF2, etc constructors in the current version. An interface via the CINT dictionary could be implemented if your class has been processed via rootcint. I am not sure if this feature could be implemented with the existing TF1,2 constructors. Rene Brun On Wed, 18 Sep 2002, Mathieu Ribordy wrote: > > > Hi, > > I would like to know whether possible in an interactive session to set a > TF with a fct declared in dictionary (from a own library). > > I mean I have a class A with an instance "a" and a method b(u1,u2), and > I would like to issue stg like > > TF2 f("f","a.b()",10,20,10,20); > > Maybe I should use the fct ptr, but that should be possible to implement > with the help of dictionary ? > > And also, how to retrieve the fct ptr a.b() in CINT, in case it is the > way to go ? > > thanks, > Mathieu Ribordy > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET