Mantid
Loading...
Searching...
No Matches
IWorkspaceProperty.cpp
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 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 +
8#include <boost/python/class.hpp>
9
11 using namespace boost::python;
13
14 class_<IWorkspaceProperty, boost::noncopyable>("IWorkspaceProperty", no_init)
15 .def("isOptional", &IWorkspaceProperty::isOptional, arg("self"), "Is the input workspace property optional")
16 .def("isLocking", &IWorkspaceProperty::isLocking, arg("self"),
17 "Will the workspace be locked when starting an algorithm");
18}
void export_IWorkspaceProperty()
An interface that is implemented by WorkspaceProperty.