Mantid
Loading...
Searching...
No Matches
Framework
PythonInterface
mantid
api
src
Exports
FunctionDomain1D.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/FunctionDomain1D.h
"
8
#include "
MantidAPI/FunctionDomain.h
"
9
10
#include <boost/python/class.hpp>
11
#include <boost/python/module.hpp>
12
#include <boost/python/register_ptr_to_python.hpp>
13
14
using
Mantid::API::FunctionDomain
;
15
using
Mantid::API::FunctionDomain1D
;
16
using
Mantid::API::FunctionDomain1D_sptr
;
17
using namespace
boost::python
;
18
19
void
export_FunctionDomain1D
() {
20
21
register_ptr_to_python<FunctionDomain1D_sptr>();
22
23
class_<FunctionDomain1D, bases<FunctionDomain>, boost::noncopyable>(
"FunctionDomain1D"
, no_init);
24
}
FunctionDomain1D.h
FunctionDomain.h
export_FunctionDomain1D
void export_FunctionDomain1D()
Definition:
FunctionDomain1D.cpp:19
Mantid::API::FunctionDomain1D
Represent a domain for functions of one real argument.
Definition:
FunctionDomain1D.h:30
Mantid::API::FunctionDomain
Base class that represents the domain of a function.
Definition:
FunctionDomain.h:31
Mantid::API::FunctionDomain1D_sptr
std::shared_ptr< FunctionDomain1D > FunctionDomain1D_sptr
typedef for a shared pointer to a FunctionDomain1D
Definition:
FunctionDomain1D.h:159
boost::python
Definition:
NDArray.h:50
Generated on Tue Jan 3 2023 11:57:23 for Mantid by
1.9.5