#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 |
| Set of helper functions that are invoked from the pythonizors, on the Python side. | |
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 |
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.