// @(#)root/pyroot:$Id$ // Author: Wim Lavrijsen, Aug 2004 #ifndef PYROOT_TCLASSMETHODHOLDER_H #define PYROOT_TCLASSMETHODHOLDER_H // ROOT class TClass; class TMethod; // Bindings #include "MethodHolder.h" namespace PyROOT { /** Python side ROOT static function @author WLAV @date 08/03/2004 @version 3.0 */ template< class T, class M > class TClassMethodHolder : public TMethodHolder< T, M > { public: TClassMethodHolder( const T& klass, const M& method ); virtual PyCallable* Clone() { return new TClassMethodHolder( *this ); } virtual PyObject* operator()( ObjectProxy*, PyObject* args, PyObject* kwds, Long_t user = 0, Bool_t release_gil = kFALSE ); }; } // namespace PyROOT #endif // !PYROOT_TCLASSMETHODHOLDER_H