3 #ifndef PYROOT_EXECUTORS_H
4 #define PYROOT_EXECUTORS_H
23 #define PYROOT_DECLARE_BASIC_EXECUTOR( name ) \
24 class T##name##Executor : public TExecutor { \
26 virtual PyObject* Execute( \
27 Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext* ); \
96 #define PYROOT_DECLARE_BASIC_REFEXECUTOR( name ) \
97 class T##name##RefExecutor : public TRefExecutor { \
99 virtual PyObject* Execute( \
100 Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext* ); \
198 #endif // !PYROOT_EXECUTORS_H
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)
PYROOT_DECLARE_BASIC_REFEXECUTOR(Bool)
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)
execute with argument , construct python ROOT object (ignoring ref) return ptr v...
TCppObjectArrayExecutor(Cppyy::TCppType_t klass, Py_ssize_t array_size)
PYROOT_DECLARE_BASIC_EXECUTOR(Bool)
TExecutor * CreateExecutor(const std::string &fullType, Bool_t manage_smart_ptr=kTRUE)
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)=0
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)
execute with argument , construct python ROOT object return ptr value ...
Cppyy::TCppMethod_t fDereferencer
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)
execute with argument , construct TTupleOfInstances from return value ...
TCppObjectBySmartPtrRefExecutor(Cppyy::TCppType_t klass, Cppyy::TCppType_t rawPtrType, Cppyy::TCppMethod_t deref)
Cppyy::TCppType_t fRawPtrType
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)
smart pointer excutor
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)
execute with argument , construct python proxy object return value ...
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)
execution will bring a temporary in existence
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)
smart pointer excutor
virtual Bool_t SetAssignable(PyObject *)
prepare "buffer" for by-ref returns, used with setitem
Global variables class (global variables are obtained from CINT).
TCppObjectRefExecutor(Cppyy::TCppType_t klass)
TCppObjectBySmartPtrExecutor(Cppyy::TCppType_t klass, Cppyy::TCppType_t rawPtrType, Cppyy::TCppMethod_t deref)
virtual PyObject * Execute(Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext *)
executor binds the result to the left-hand side, overwriting if an old object
Cppyy::TCppMethod_t fDereferencer
TCppObjectExecutor(Cppyy::TCppType_t klass)
Cppyy::TCppType_t fRawPtrType