Mantid
Loading...
Searching...
No Matches
Framework
PythonInterface
mantid
geometry
src
Exports
ObjCompAssembly.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/Instrument/ObjCompAssembly.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::ICompAssembly
;
14
using
Mantid::Geometry::ObjCompAssembly
;
15
using
Mantid::Geometry::ObjComponent
;
16
using namespace
boost::python
;
17
18
GET_POINTER_SPECIALIZATION
(
ObjCompAssembly
)
19
20
void
export_ObjCompAssembly
() {
21
register_ptr_to_python<std::shared_ptr<ObjCompAssembly>>();
22
23
class_<ObjCompAssembly, boost::python::bases<ICompAssembly, ObjComponent>, boost::noncopyable>(
"IObjCompAssembly"
,
24
no_init);
25
}
GetPointer.h
GET_POINTER_SPECIALIZATION
#define GET_POINTER_SPECIALIZATION(TYPE)
Definition:
GetPointer.h:17
ObjCompAssembly.h
export_ObjCompAssembly
void export_ObjCompAssembly()
Definition:
ObjCompAssembly.cpp:20
Mantid::Geometry::ICompAssembly
Class for Assembly of geometric components.
Definition:
ICompAssembly.h:30
Mantid::Geometry::ObjCompAssembly
Class for Assembly of geometric components.
Definition:
ObjCompAssembly.h:30
Mantid::Geometry::ObjComponent
Object Component class, this class brings together the physical attributes of the component to the po...
Definition:
ObjComponent.h:33
boost::python
Definition:
NDArray.h:50
Generated on Tue Jan 3 2023 11:57:48 for Mantid by
1.9.5