Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TClassMethodHolder.h
Go to the documentation of this file.
1 // @(#)root/pyroot:$Id$
2 // Author: Wim Lavrijsen, Aug 2004
3 
4 #ifndef PYROOT_TCLASSMETHODHOLDER_H
5 #define PYROOT_TCLASSMETHODHOLDER_H
6 
7 // Bindings
8 #include "TMethodHolder.h"
9 
10 
11 namespace PyROOT {
12 
13  class TClassMethodHolder : public TMethodHolder {
14  public:
15  using TMethodHolder::TMethodHolder;
16 
17  virtual PyCallable* Clone() { return new TClassMethodHolder( *this ); }
18  virtual PyObject* Call(
19  ObjectProxy*&, PyObject* args, PyObject* kwds, TCallContext* ctxt = 0 );
20  };
21 
22 } // namespace PyROOT
23 
24 #endif // !PYROOT_TCLASSMETHODHOLDER_H