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