Mantid
Loading...
Searching...
No Matches
WrapperHelpers.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2011 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9//-----------------------------------------------------------------------------
10// Includes
11//-----------------------------------------------------------------------------
13#include <boost/python/wrapper.hpp>
14
15namespace Mantid {
16namespace PythonInterface {
17
24bool MANTID_PYTHONINTERFACE_CORE_DLL typeHasAttribute(PyObject *obj, const char *attr);
26bool MANTID_PYTHONINTERFACE_CORE_DLL typeHasAttribute(const boost::python::detail::wrapper_base &wrapper,
27 const char *attr);
28
29} // namespace PythonInterface
30} // namespace Mantid
double obj
the value of the quadratic function
#define MANTID_PYTHONINTERFACE_CORE_DLL
Definition: DllConfig.h:17
bool MANTID_PYTHONINTERFACE_CORE_DLL typeHasAttribute(PyObject *obj, const char *attr)
This namespace contains helper functions for classes that are overridden in Python.
Helper class which provides the Collimation Length for SANS instruments.