Classes | |
| struct | PyError_t |
| struct | PyOperators |
Enumerations | |
| enum | ArgPreference { kNone , kPointer , kReference , kValue } |
Functions | |
| bool | AddToClass (PyObject *pyclass, const char *label, const char *func) |
| bool | AddToClass (PyObject *pyclass, const char *label, PyCallable *pyfunc) |
| bool | AddToClass (PyObject *pyclass, const char *label, PyCFunction cfunc, int flags=METH_VARARGS) |
| std::string | ClassName (PyObject *pyobj) |
| void | ConstructCallbackPreamble (const std::string &retType, const std::vector< std::string > &argtypes, std::ostringstream &code) |
| void | ConstructCallbackReturn (const std::string &retType, int nArgs, std::ostringstream &code) |
| std::string | ConstructTemplateArgs (PyObject *pyname, PyObject *tpArgs, PyObject *args=nullptr, ArgPreference=kNone, int argoff=0, int *pcnt=nullptr) |
| PyObject * | CT2CppName (PyObject *pytc, const char *cpd, bool allow_voidp) |
| std::string | CT2CppNameS (PyObject *pytc, bool allow_voidp) |
| size_t | FetchError (std::vector< PyError_t > &, bool is_cpp=false) |
| PyError_t | FetchPyError () |
| PyCallable * | FindBinaryOperator (const std::string &lcname, const std::string &rcname, const char *op, Cppyy::TCppScope_t scope=0, bool reverse=false) |
| PyCallable * | FindBinaryOperator (PyObject *left, PyObject *right, const char *op, Cppyy::TCppScope_t scope=0) |
| PyCallable * | FindUnaryOperator (PyObject *pyclass, const char *op) |
| PyObject * | FuncPtr2StdFunction (const std::string &retType, const std::string &signature, void *address) |
| Py_ssize_t | GetBuffer (PyObject *pyobject, char tc, int size, void *&buf, bool check=true) |
| bool | IncludePython () |
| bool | InitProxy (PyObject *module, PyTypeObject *pytype, const char *name) |
| bool | IsSTLIterator (const std::string &classname) |
| std::string | MapOperatorName (const std::string &name, bool bTakesParames, bool *stubbed=nullptr) |
| PyObject * | PyErr_Occurred_WithGIL () |
| void | RestorePyError (PyError_t &error) |
| void | SetDetailedException (std::vector< PyError_t > &&errors, PyObject *topmsg, PyObject *defexc) |
| std::map< std::string, char > const & | TypecodeMap () |
Definition at line 220 of file Utility.cxx.
| bool CPyCppyy::Utility::AddToClass | ( | PyObject * | pyclass, |
| const char * | label, | ||
| PyCallable * | pyfunc ) |
Definition at line 236 of file Utility.cxx.
| bool CPyCppyy::Utility::AddToClass | ( | PyObject * | pyclass, |
| const char * | label, | ||
| PyCFunction | cfunc, | ||
| int | flags = METH_VARARGS ) |
Definition at line 185 of file Utility.cxx.
| std::string CPyCppyy::Utility::ClassName | ( | PyObject * | pyobj | ) |
Definition at line 1107 of file Utility.cxx.
| void CPyCppyy::Utility::ConstructCallbackPreamble | ( | const std::string & | retType, |
| const std::vector< std::string > & | argtypes, | ||
| std::ostringstream & | code ) |
Definition at line 713 of file Utility.cxx.
| void CPyCppyy::Utility::ConstructCallbackReturn | ( | const std::string & | retType, |
| int | nArgs, | ||
| std::ostringstream & | code ) |
Definition at line 779 of file Utility.cxx.
| std::string CPyCppyy::Utility::ConstructTemplateArgs | ( | PyObject * | pyname, |
| PyObject * | tpArgs, | ||
| PyObject * | args = nullptr, | ||
| ArgPreference | pref = kNone, | ||
| int | argoff = 0, | ||
| int * | pcnt = nullptr ) |
Definition at line 635 of file Utility.cxx.
Definition at line 677 of file Utility.cxx.
Definition at line 1219 of file Utility.cxx.
| CPyCppyy::Utility::PyError_t CPyCppyy::Utility::FetchPyError | ( | ) |
Definition at line 1188 of file Utility.cxx.
| CPyCppyy::PyCallable * CPyCppyy::Utility::FindBinaryOperator | ( | const std::string & | lcname, |
| const std::string & | rcname, | ||
| const char * | op, | ||
| Cppyy::TCppScope_t | scope = 0, | ||
| bool | reverse = false ) |
Definition at line 318 of file Utility.cxx.
| CPyCppyy::PyCallable * CPyCppyy::Utility::FindBinaryOperator | ( | PyObject * | left, |
| PyObject * | right, | ||
| const char * | op, | ||
| Cppyy::TCppScope_t | scope = 0 ) |
Definition at line 297 of file Utility.cxx.
| CPyCppyy::PyCallable * CPyCppyy::Utility::FindUnaryOperator | ( | PyObject * | pyclass, |
| const char * | op ) |
Definition at line 282 of file Utility.cxx.
| PyObject * CPyCppyy::Utility::FuncPtr2StdFunction | ( | const std::string & | retType, |
| const std::string & | signature, | ||
| void * | address ) |
Definition at line 816 of file Utility.cxx.
| Py_ssize_t CPyCppyy::Utility::GetBuffer | ( | PyObject * | pyobject, |
| char | tc, | ||
| int | size, | ||
| void *& | buf, | ||
| bool | check = true ) |
Definition at line 919 of file Utility.cxx.
| bool CPyCppyy::Utility::IncludePython | ( | ) |
Definition at line 1310 of file Utility.cxx.
Definition at line 872 of file Utility.cxx.
| bool CPyCppyy::Utility::IsSTLIterator | ( | const std::string & | classname | ) |
Definition at line 1128 of file Utility.cxx.
| std::string CPyCppyy::Utility::MapOperatorName | ( | const std::string & | name, |
| bool | bTakesParames, | ||
| bool * | stubbed = nullptr ) |
Definition at line 1042 of file Utility.cxx.
| PyObject * CPyCppyy::Utility::PyErr_Occurred_WithGIL | ( | ) |
Definition at line 1168 of file Utility.cxx.
| void CPyCppyy::Utility::RestorePyError | ( | PyError_t & | error | ) |
Definition at line 1208 of file Utility.cxx.
| void CPyCppyy::Utility::SetDetailedException | ( | std::vector< PyError_t > && | errors, |
| PyObject * | topmsg, | ||
| PyObject * | defexc ) |
Definition at line 1230 of file Utility.cxx.
| std::map< std::string, char > const & CPyCppyy::Utility::TypecodeMap | ( | ) |
Definition at line 892 of file Utility.cxx.