OPAL (Object Oriented Parallel Accelerator Library)  2024.1
OPAL
PyOpalElement.cpp
Go to the documentation of this file.
4 
5 #include "Elements/OpalElement.h"
6 
7 //using namespace boost::python;
8 namespace PyOpal {
9 namespace PyOpalElement {
10 
11 std::string track_run_docstring = std::string();
12 
13 
14 const char* module_docstring = "opal element base class";
15 
16 template <>
17 std::vector<PyOpalObjectNS::AttributeDef> PyOpalObjectNS::PyOpalObject<OpalElement>::attributes = {
18 };
19 
20 template <>
22 "OpalElement is a base class for Opal element objects. In particular it is\n"
23 "used by Line class to handle wrapping of objects";
24 
25 template <>
27 
28 BOOST_PYTHON_MODULE(opal_element) {
32  element.make_element_class("OpalElement");
33 }
34 
35 }
36 }
void Initialise()
Definition: Globals.cpp:50
std::string track_run_docstring
boost::python::class_< PyC > make_element_class(const char *className)
Definition: PyOpalObject.h:752
const char * module_docstring
BOOST_PYTHON_MODULE(asymmetric_enge)