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, interop::TCppScope_t scope=interop::TCppScope_t{}, bool reverse=false) |
| PyCallable * | FindBinaryOperator (PyObject *left, PyObject *right, const char *op, interop::TCppScope_t scope=interop::TCppScope_t{}) |
| 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) |
| std::vector< Cpp::TemplateArgInfo > | GetTemplateArgsTypes (PyObject *scope, PyObject *tpArgs, PyObject *args=nullptr, ArgPreference=kNone, int argoff=0, int *pcnt=nullptr) |
| 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::unordered_map< std::string, char > const & | TypecodeMap () |
| bool cppjit::cpyrt::Utility::AddToClass | ( | PyObject * | pyclass, |
| const char * | label, | ||
| const char * | func ) |
Definition at line 215 of file Utility.cxx.
| bool cppjit::cpyrt::Utility::AddToClass | ( | PyObject * | pyclass, |
| const char * | label, | ||
| PyCallable * | pyfunc ) |
Definition at line 231 of file Utility.cxx.
| bool cppjit::cpyrt::Utility::AddToClass | ( | PyObject * | pyclass, |
| const char * | label, | ||
| PyCFunction | cfunc, | ||
| int | flags = METH_VARARGS ) |
Definition at line 178 of file Utility.cxx.
| std::string cppjit::cpyrt::Utility::ClassName | ( | PyObject * | pyobj | ) |
Definition at line 1403 of file Utility.cxx.
| void cppjit::cpyrt::Utility::ConstructCallbackPreamble | ( | const std::string & | retType, |
| const std::vector< std::string > & | argtypes, | ||
| std::ostringstream & | code ) |
Definition at line 1005 of file Utility.cxx.
| void cppjit::cpyrt::Utility::ConstructCallbackReturn | ( | const std::string & | retType, |
| int | nArgs, | ||
| std::ostringstream & | code ) |
Definition at line 1074 of file Utility.cxx.
| std::string cppjit::cpyrt::Utility::ConstructTemplateArgs | ( | PyObject * | pyname, |
| PyObject * | tpArgs, | ||
| PyObject * | args = nullptr, | ||
| ArgPreference | pref = kNone, | ||
| int | argoff = 0, | ||
| int * | pcnt = nullptr ) |
Definition at line 640 of file Utility.cxx.
Definition at line 936 of file Utility.cxx.
| size_t cppjit::cpyrt::Utility::FetchError | ( | std::vector< PyError_t > & | errors, |
| bool | is_cpp = false ) |
Definition at line 1503 of file Utility.cxx.
| cpyrt::Utility::PyError_t cppjit::cpyrt::Utility::FetchPyError | ( | ) |
Definition at line 1474 of file Utility.cxx.
| cpyrt::PyCallable * cppjit::cpyrt::Utility::FindBinaryOperator | ( | const std::string & | lcname, |
| const std::string & | rcname, | ||
| const char * | op, | ||
| interop::TCppScope_t | scope = interop::TCppScope_t{}, | ||
| bool | reverse = false ) |
Definition at line 315 of file Utility.cxx.
| cpyrt::PyCallable * cppjit::cpyrt::Utility::FindBinaryOperator | ( | PyObject * | left, |
| PyObject * | right, | ||
| const char * | op, | ||
| interop::TCppScope_t | scope = interop::TCppScope_t{} ) |
Definition at line 293 of file Utility.cxx.
| cpyrt::PyCallable * cppjit::cpyrt::Utility::FindUnaryOperator | ( | PyObject * | pyclass, |
| const char * | op ) |
Definition at line 276 of file Utility.cxx.
| PyObject * cppjit::cpyrt::Utility::FuncPtr2StdFunction | ( | const std::string & | retType, |
| const std::string & | signature, | ||
| void * | address ) |
Definition at line 1113 of file Utility.cxx.
| Py_ssize_t cppjit::cpyrt::Utility::GetBuffer | ( | PyObject * | pyobject, |
| char | tc, | ||
| int | size, | ||
| void *& | buf, | ||
| bool | check = true ) |
Definition at line 1205 of file Utility.cxx.
| std::vector< Cpp::TemplateArgInfo > cppjit::cpyrt::Utility::GetTemplateArgsTypes | ( | PyObject * | scope, |
| PyObject * | tpArgs, | ||
| PyObject * | args = nullptr, | ||
| ArgPreference | pref = kNone, | ||
| int | argoff = 0, | ||
| int * | pcnt = nullptr ) |
Definition at line 893 of file Utility.cxx.
| bool cppjit::cpyrt::Utility::IncludePython | ( | ) |
Definition at line 1594 of file Utility.cxx.
| bool cppjit::cpyrt::Utility::InitProxy | ( | PyObject * | module, |
| PyTypeObject * | pytype, | ||
| const char * | name ) |
Definition at line 1169 of file Utility.cxx.
| bool cppjit::cpyrt::Utility::IsSTLIterator | ( | const std::string & | classname | ) |
Definition at line 1423 of file Utility.cxx.
| std::string cppjit::cpyrt::Utility::MapOperatorName | ( | const std::string & | name, |
| bool | bTakesParames, | ||
| bool * | stubbed = nullptr ) |
Definition at line 1335 of file Utility.cxx.
| PyObject * cppjit::cpyrt::Utility::PyErr_Occurred_WithGIL | ( | ) |
Definition at line 1463 of file Utility.cxx.
| void cppjit::cpyrt::Utility::RestorePyError | ( | PyError_t & | error | ) |
Definition at line 1493 of file Utility.cxx.
| void cppjit::cpyrt::Utility::SetDetailedException | ( | std::vector< PyError_t > && | errors, |
| PyObject * | topmsg, | ||
| PyObject * | defexc ) |
Definition at line 1513 of file Utility.cxx.
| std::unordered_map< std::string, char > const & cppjit::cpyrt::Utility::TypecodeMap | ( | ) |
Definition at line 1189 of file Utility.cxx.