Mantid
Loading...
Searching...
No Matches
Framework
PythonInterface
mantid
geometry
src
Exports
IObject.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 "
MantidGeometry/Objects/IObject.h
"
8
#include "
MantidPythonInterface/core/GetPointer.h
"
9
10
#include <boost/python/class.hpp>
11
#include <boost/python/register_ptr_to_python.hpp>
12
13
using
Mantid::Geometry::IObject
;
14
using namespace
boost::python
;
15
16
GET_POINTER_SPECIALIZATION
(
IObject
)
17
18
void
export_IObject
() {
19
register_ptr_to_python<std::shared_ptr<IObject>>();
20
21
class_<IObject, boost::noncopyable>(
"IObject"
, no_init);
22
}
GetPointer.h
GET_POINTER_SPECIALIZATION
#define GET_POINTER_SPECIALIZATION(TYPE)
Definition:
GetPointer.h:17
export_IObject
void export_IObject()
Definition:
IObject.cpp:18
IObject.h
Mantid::Geometry::IObject
IObject : Interface for geometry objects.
Definition:
IObject.h:41
boost::python
Definition:
NDArray.h:50
Generated on Tue Jan 3 2023 11:57:59 for Mantid by
1.9.5