#include "CPyCppyy.h"
#include "CPPInstance.h"
#include "CPPScope.h"
#include "CPPOverload.h"
#include "MemoryRegulator.h"
#include "ProxyWrappers.h"
#include "PyStrings.h"
#include "TypeManip.h"
#include "Utility.h"
#include "CPyCppyy/DispatchPtr.h"
#include <algorithm>
#include <sstream>
Namespaces | |
namespace | CPyCppyy |
Macros | |
#define | CPYCPPYY_ASSOCIATIVE_OPERATOR_STUB(name, op, lmeth, rmeth) |
#define | CPYCPPYY_OPERATOR_STUB(name, op, ometh) |
#define | CPYCPPYY_STUB_BODY(name, op) |
#define | CPYCPPYY_UNARY_OPERATOR(name, op, label) |
#define | DATA_CACHE(pyobj) ((ExtendedData*)((pyobj)->fObject))->fDatamemberCache |
#define | DISPATCHPTR(pyobj) ((ExtendedData*)((pyobj)->fObject))->fDispatchPtr |
#define | EXT_OBJECT(pyobj) ((ExtendedData*)((pyobj)->fObject))->fObject |
#define | SMART_CLS(pyobj) ((ExtendedData*)((pyobj)->fObject))->fSmartClass |
#define | SMART_TYPE(pyobj) SMART_CLS(pyobj)->fCppType |
Functions | |
static Py_hash_t | CPyCppyy::CPyCppyy_PyLong_AsHash_t (PyObject *obj) |
static PyObject * | CPyCppyy::eqneq_binop (CPPClass *klass, PyObject *self, PyObject *obj, int op) |
static int | CPyCppyy::op_clear (CPPInstance *pyobj) |
static void | CPyCppyy::op_dealloc (CPPInstance *pyobj) |
static PyObject * | CPyCppyy::op_destruct (CPPInstance *self) |
static PyObject * | CPyCppyy::op_dispatch (PyObject *self, PyObject *args, PyObject *) |
static PyObject * | CPyCppyy::op_get_smartptr (CPPInstance *self) |
static PyObject * | CPyCppyy::op_getownership (CPPInstance *pyobj, void *) |
static Py_hash_t | CPyCppyy::op_hash (CPPInstance *self) |
static CPPInstance * | CPyCppyy::op_new (PyTypeObject *subtype, PyObject *, PyObject *) |
static int | CPyCppyy::op_nonzero (CPPInstance *self) |
static PyObject * | CPyCppyy::op_repr (CPPInstance *self) |
static PyObject * | CPyCppyy::op_richcompare (CPPInstance *self, PyObject *other, int op) |
static int | CPyCppyy::op_setownership (CPPInstance *pyobj, PyObject *value, void *) |
static PyObject * | CPyCppyy::op_str (CPPInstance *self) |
static PyObject * | CPyCppyy::op_str_internal (PyObject *pyobj, PyObject *lshift, bool isBound) |
Variables | |
PyTypeObject | CPyCppyy::CPPInstance_Type |
static PyNumberMethods | CPyCppyy::op_as_number |
static PyGetSetDef | CPyCppyy::op_getset [] |
static PyMethodDef | CPyCppyy::op_methods [] |
#define CPYCPPYY_ASSOCIATIVE_OPERATOR_STUB | ( | name, | |
op, | |||
lmeth, | |||
rmeth | |||
) |
Definition at line 639 of file CPPInstance.cxx.
#define CPYCPPYY_OPERATOR_STUB | ( | name, | |
op, | |||
ometh | |||
) |
Definition at line 628 of file CPPInstance.cxx.
#define CPYCPPYY_STUB_BODY | ( | name, | |
op | |||
) |
Definition at line 602 of file CPPInstance.cxx.
#define CPYCPPYY_UNARY_OPERATOR | ( | name, | |
op, | |||
label | |||
) |
Definition at line 661 of file CPPInstance.cxx.
#define DATA_CACHE | ( | pyobj | ) | ((ExtendedData*)((pyobj)->fObject))->fDatamemberCache |
Definition at line 77 of file CPPInstance.cxx.
#define DISPATCHPTR | ( | pyobj | ) | ((ExtendedData*)((pyobj)->fObject))->fDispatchPtr |
Definition at line 76 of file CPPInstance.cxx.
#define EXT_OBJECT | ( | pyobj | ) | ((ExtendedData*)((pyobj)->fObject))->fObject |
Definition at line 73 of file CPPInstance.cxx.
#define SMART_CLS | ( | pyobj | ) | ((ExtendedData*)((pyobj)->fObject))->fSmartClass |
Definition at line 74 of file CPPInstance.cxx.
#define SMART_TYPE | ( | pyobj | ) | SMART_CLS(pyobj)->fCppType |
Definition at line 75 of file CPPInstance.cxx.