Logo ROOT   6.08/07
Reference Guide
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 
14  public:
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
virtual PyCallable * Clone()
virtual Bool_t InitExecutor_(TExecutor *&, TCallContext *ctxt=0)
install executor conform to the return type
bool Bool_t
Definition: RtypesCore.h:59
virtual PyObject * Call(ObjectProxy *&self, PyObject *args, PyObject *kwds, TCallContext *ctxt=0)
preliminary check in case keywords are accidently used (they are ignored otherwise) ...
TMethodHolder(Cppyy::TCppScope_t scope, Cppyy::TCppMethod_t method)
virtual PyObject * GetDocString()
_object PyObject
Definition: TPyArg.h:22