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* ); \ 98 #define PYROOT_DECLARE_BASIC_REFEXECUTOR( name ) \ 99 class T##name##RefExecutor : public TRefExecutor { \ 101 virtual PyObject* Execute( \ 102 Cppyy::TCppMethod_t, Cppyy::TCppObject_t, TCallContext* ); \ 161 Cppyy::TCppMethod_t deref ) : fClass( klass ), fRawPtrType( rawPtrType ), fDereferencer( deref ) {}
183 Cppyy::TCppMethod_t deref ) : fClass( klass ), fRawPtrType( rawPtrType ), fDereferencer( deref ) {}
200 #endif // !PYROOT_EXECUTORS_H
PYROOT_DECLARE_BASIC_REFEXECUTOR(Bool)
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
Cppyy::TCppMethod_t fDereferencer
TCppObjectBySmartPtrRefExecutor(Cppyy::TCppType_t klass, Cppyy::TCppType_t rawPtrType, Cppyy::TCppMethod_t deref)
Cppyy::TCppType_t fRawPtrType
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)
Cppyy::TCppMethod_t fDereferencer
TCppObjectExecutor(Cppyy::TCppType_t klass)
Cppyy::TCppType_t fRawPtrType