Mantid
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
CallMethod.h File Reference
#include "MantidPythonInterface/core/ErrorHandling.h"
#include "MantidPythonInterface/core/GlobalInterpreterLock.h"
#include "MantidPythonInterface/core/WrapperHelpers.h"
#include <boost/python/call_method.hpp>
#include <boost/python/class.hpp>

Go to the source code of this file.

Classes

struct  Mantid::PythonInterface::UndefinedAttributeError
 Defines an exception for an undefined attribute. More...
 

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::PythonInterface
 
namespace  Mantid::PythonInterface::detail
 

Functions

template<typename ReturnType , typename... Args>
ReturnType Mantid::PythonInterface::callMethod (PyObject *obj, const char *methodName, const Args &...args)
 Wrapper around boost::python::call_method to acquire GIL for duration of call. More...
 
template<typename ReturnType , typename... Args>
ReturnType Mantid::PythonInterface::detail::callMethodImpl (PyObject *obj, const char *methodName, const Args &...args)
 Wrapper around boost::python::call_method. More...
 
template<typename ReturnType , typename... Args>
ReturnType Mantid::PythonInterface::callMethodNoCheck (const boost::python::object &obj, const char *methodName, const Args &...args)
 Wrapper around boost::python::call_method to acquire GIL for duration of call. More...
 
template<typename ReturnType , typename... Args>
ReturnType Mantid::PythonInterface::callMethodNoCheck (PyObject *obj, const char *methodName, const Args &...args)
 Wrapper around boost::python::call_method to acquire GIL for duration of call. More...