OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
PyOpalElement.cpp
Go to the documentation of this file.
3
5
6//using namespace boost::python;
7namespace PyOpal {
8namespace PyOpalElement {
9
10std::string track_run_docstring = std::string();
11
12
13const char* module_docstring = "opal element base class";
14
15template <>
16std::vector<PyOpalObjectNS::AttributeDef> PyOpalObjectNS::PyOpalObject<OpalElement>::attributes = {
17};
18
19template <>
21"OpalElement is a base class for Opal element objects. In particular it\n"
22"used by Line class to handle wrapping of objects";
23
24template <>
26
27BOOST_PYTHON_MODULE(opal_element) {
29 PyOpalObjectNS::PyOpalObject<OpalElement> element;
30 element.make_class("OpalElement");
31}
32
33}
34}
BOOST_PYTHON_MODULE(boost_field)
const char * module_docstring
std::string track_run_docstring
static std::vector< AttributeDef > attributes
Definition: PyOpalObject.h:193