4 #ifndef PYROOT_OBJECTPROXY_H 5 #define PYROOT_OBJECTPROXY_H 56 std::vector<TParameter> args;
61 return *(
reinterpret_cast< void**
>(
const_cast< void*
>(
fObject ) ));
63 return const_cast< void*
>(
fObject );
90 template<
typename T >
93 return object && PyObject_TypeCheck(
object, &ObjectProxy_Type );
96 template<
typename T >
108 #endif // !PYROOT_OBJECTPROXY_H
Cppyy::TCppType_t fSmartPtrType
std::vector< TCppMethod_t > GetMethodsFromName(TCppScope_t scope, const std::string &name)
void SetSmartPtr(void *address, Cppyy::TCppType_t ptrType)
Bool_t ObjectProxy_CheckExact(T *object)
PyTypeObject ObjectProxy_Type
Bool_t ObjectProxy_Check(T *object)
void * CallR(TCppMethod_t method, TCppObject_t self, void *args)
Type object to hold TClassRef instance (this is only semantically a presentation of PyRootType instan...
PyObject_HEAD void * fObject
void op_dealloc_nofree(ObjectProxy *)
Destroy the held C++ object, if owned; does not deallocate the proxy.
void Set(void *address, EFlags flags=kNone)
Cppyy::TCppType_t ObjectIsA() const