Template Class ExternPythonHelper¶
Defined in File extern_python_helper.hpp
Class Documentation¶
-
template<class
InputType>
classioh::problem::python::ExternPythonHelper¶ Unnamed Group
-
template<>
voidcall(PyObject *py_function)¶ Template specializations of call.
-
template<>
std::stringcall(PyObject *py_function)¶
Unnamed Group
-
template<>
PyObject *from_num(int x)¶ Template specializations of from_num for integer InputType(s).
-
template<>
PyObject *from_num(long x)¶
-
template<>
PyObject *from_num(long long x)¶
-
template<>
PyObject *from_num(unsigned long x)¶
-
template<>
PyObject *from_num(unsigned long long x)¶
Unnamed Group
-
template<>
intlong_as_num(PyObject *py_value)¶ Template specialization of as_num.
-
template<>
doublelong_as_num(PyObject *py_value)¶
-
template<>
long longlong_as_num(PyObject *py_value)¶
-
template<>
unsigned longlong_as_num(PyObject *py_value)¶
-
template<>
unsigned long longlong_as_num(PyObject *py_value)¶
Public Functions
-
ExternPythonHelper(std::string module_name, std::string instance_name)¶
-
~ExternPythonHelper()¶
-
PyObject *
get_callable(std::string func_name)¶
Public Members
-
PyObject *
module¶
Protected Functions
-
PyObject *
pycall(PyObject *py_callable, PyObject *py_args)¶
-
template<>