Mantid
Loading...
Searching...
No Matches
Framework
PythonInterface
mantid
api
src
Exports
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 +
7
#include "
MantidAPI/IWorkspaceProperty.h
"
8
#include <boost/python/class.hpp>
9
10
void
export_IWorkspaceProperty
() {
11
using namespace
boost::python
;
12
using
Mantid::API::IWorkspaceProperty
;
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
}
export_IWorkspaceProperty
void export_IWorkspaceProperty()
Definition:
IWorkspaceProperty.cpp:10
IWorkspaceProperty.h
Mantid::API::IWorkspaceProperty
An interface that is implemented by WorkspaceProperty.
Definition:
IWorkspaceProperty.h:23
boost::python
Definition:
NDArray.h:50
Generated on Tue Jan 3 2023 11:57:58 for Mantid by
1.9.5