Mantid
Loading...
Searching...
No Matches
ISplittersWorkspace.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 +
10#include <boost/python/class.hpp>
11#include <boost/python/return_internal_reference.hpp>
12
15using namespace boost::python;
16
18
20 class_<ISplittersWorkspace, boost::noncopyable>("ISplittersWorkspace", no_init)
21 .def("getNumberSplitters", &ISplittersWorkspace::getNumberSplitters, arg("self"),
22 "Returns the number of splitters within the workspace");
23
24 // register pointers
26}
#define GET_POINTER_SPECIALIZATION(TYPE)
Definition: GetPointer.h:17
void export_ISplittersWorkspace()
ISplittersWorkspace : Workspace to contain splitters for event filtering.
virtual size_t getNumberSplitters() const =0
Encapsulates the registration required for an interface type T that sits on top of a Kernel::DataItem...