Mantid
|
Namespaces | |
namespace | Detail |
Classes | |
class | CodeExecution |
The CodeExecution class support execution of arbitrary Python code with the option to install a trace handler to track lines executed and tell an editor to mark them appropriately. More... | |
class | InstanceHolder |
Holds a Python instance of an object with a method to access it. More... | |
Typedefs | |
using | Dict = boost::python::dict |
using | ErrorAlreadySet = boost::python::error_already_set |
template<typename T = PyObject> | |
using | Handle = boost::python::handle< T > |
using | KwArgs = QHash< QString, QVariant > |
using | List = boost::python::list |
using | Object = boost::python::object |
template<typename T > | |
using | ToPythonValue = boost::python::to_python_value< T > |
Functions | |
Python::Object | BorrowedRef (PyObject *obj) |
template<typename T > | |
T * | extract (const Object &obj) |
Extract a C++ object of type T from the Python object. More... | |
ssize_t | Len (const Python::Object &obj) |
Python::Object | NewRef (PyObject *obj) |
EXPORT_OPT_MANTIDQT_COMMON Python::Dict | qHashToDict (const KwArgs &hash) |
using MantidQt::Widgets::Common::Python::Dict = typedef boost::python::dict |
using MantidQt::Widgets::Common::Python::ErrorAlreadySet = typedef boost::python::error_already_set |
using MantidQt::Widgets::Common::Python::Handle = typedef boost::python::handle<T> |
using MantidQt::Widgets::Common::Python::KwArgs = typedef QHash<QString, QVariant> |
Definition at line 19 of file QHashToDict.h.
using MantidQt::Widgets::Common::Python::List = typedef boost::python::list |
using MantidQt::Widgets::Common::Python::Object = typedef boost::python::object |
using MantidQt::Widgets::Common::Python::ToPythonValue = typedef boost::python::to_python_value<T> |
|
inline |
T * MantidQt::Widgets::Common::Python::extract | ( | const Object & | obj | ) |
|
inline |
|
inline |
Python::Dict MantidQt::Widgets::Common::Python::qHashToDict | ( | const KwArgs & | hash | ) |
Definition at line 12 of file QHashToDict.cpp.
References MantidQt::Widgets::Common::Python::Detail::sipAPI().