Logo ROOT  
Reference Guide
ProxyWrappers.h
Go to the documentation of this file.
1#ifndef CPYCPPYY_PROXYWRAPPERS_H
2#define CPYCPPYY_PROXYWRAPPERS_H
3
4// Standard
5#include <string>
6
7
8namespace CPyCppyy {
9
10// construct a Python shadow class for the named C++ class
15 const std::string& scope_name, PyObject* parent = nullptr);
16
17// C++ exceptions form a special case b/c they have to derive from BaseException
19
20// bind a C++ object into a Python proxy object (flags are CPPInstance::Default)
22 Cppyy::TCppType_t klass, const unsigned flags = 0);
24 Cppyy::TCppType_t klass, const unsigned flags = 0);
27
28} // namespace CPyCppyy
29
30#endif // !CPYCPPYY_PROXYWRAPPERS_H
int Py_ssize_t
Definition: CPyCppyy.h:228
_object PyObject
Definition: PyMethodBase.h:41
#define pyname
Definition: TMCParticle.cxx:19
PyObject * GetScopeProxy(Cppyy::TCppScope_t)
PyObject * BindCppObjectNoCast(Cppyy::TCppObject_t object, Cppyy::TCppType_t klass, const unsigned flags=0)
PyObject * CreateExcScopeProxy(PyObject *pyscope, PyObject *pyname, PyObject *parent)
PyObject * CreateScopeProxy(Cppyy::TCppScope_t)
PyObject * BindCppObject(Cppyy::TCppObject_t object, Cppyy::TCppType_t klass, const unsigned flags=0)
PyObject * BindCppObjectArray(Cppyy::TCppObject_t address, Cppyy::TCppType_t klass, Py_ssize_t *dims)
void * TCppObject_t
Definition: cpp_cppyy.h:21
TCppScope_t TCppType_t
Definition: cpp_cppyy.h:19
size_t TCppScope_t
Definition: cpp_cppyy.h:18