Mantid
Loading...
Searching...
No Matches
Framework
PythonInterface
mantid
geometry
src
Exports
CompAssembly.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/CompAssembly.h
"
8
#include <boost/python/class.hpp>
9
10
using
Mantid::Geometry::CompAssembly
;
11
using
Mantid::Geometry::Component
;
12
using
Mantid::Geometry::ICompAssembly
;
13
using namespace
boost::python
;
14
19
void
export_CompAssembly
() {
20
class_<CompAssembly, bases<ICompAssembly, Component>, boost::noncopyable>(
"CompAssembly"
, no_init);
21
}
CompAssembly.h
export_CompAssembly
void export_CompAssembly()
Enables boost.python to automatically "cast" an object up to the appropriate CompAssembly leaf type.
Definition:
CompAssembly.cpp:19
Mantid::Geometry::CompAssembly
Class for Assembly of geometric components.
Definition:
CompAssembly.h:31
Mantid::Geometry::Component
Component is a wrapper for a Component which can modify some of its parameters, e....
Definition:
Component.h:41
Mantid::Geometry::ICompAssembly
Class for Assembly of geometric components.
Definition:
ICompAssembly.h:30
boost::python
Definition:
NDArray.h:50
Generated on Tue Jan 3 2023 11:57:48 for Mantid by
1.9.5