OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <PyElement.h>
Inherits boost::python::default_call_policies.
Public Member Functions | |
PyElementGetProperty (AttributeType type, std::string opalName) | |
~PyElementGetProperty () | |
template<class ArgumentPackage > | |
PyObject * | postcall (ArgumentPackage const &, PyObject *result) |
Static Public Member Functions | |
static void | setElement (const PyElement< C > *element) |
Private Attributes | |
AttributeType | type_m |
std::string | opalName_m |
Static Private Attributes | |
static const PyElement< C > * | element_m = NULL |
Helper class to handle getting Attributes from python
Definition at line 204 of file PyElement.h.
|
inline |
Constructor
Definition at line 210 of file PyElement.h.
|
inline |
destructor
Definition at line 212 of file PyElement.h.
PyObject * PyOpal::PyElementNS::PyElementGetProperty< C >::postcall | ( | ArgumentPackage const & | , |
PyObject * | result | ||
) |
postcall action
Definition at line 424 of file PyElement.h.
References PyOpal::PyElementNS::DOUBLE.
|
inlinestatic |
Set pointer to the element; should be called before each postcall
Definition at line 225 of file PyElement.h.
References PyOpal::PyElementNS::PyElementGetProperty< C >::element_m.
Referenced by PyOpal::PyElementNS::PyElement< C >::dummyGet().
|
staticprivate |
Definition at line 230 of file PyElement.h.
Referenced by PyOpal::PyElementNS::PyElementGetProperty< C >::setElement().
|
private |
Definition at line 229 of file PyElement.h.
|
private |
Definition at line 228 of file PyElement.h.