OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
#include <PyOpalObject.h>
Inherits default_call_policies.
Public Member Functions | |
PyOpalObjectGetProperty (AttributeType type, std::string opalName) | |
~PyOpalObjectGetProperty () | |
template<class ArgumentPackage > | |
PyObject * | postcall (ArgumentPackage const &, PyObject *result) |
Static Public Member Functions | |
static void | setObject (const PyOpalObject< C > *object) |
Private Attributes | |
AttributeType | type_m |
std::string | opalName_m |
Static Private Attributes | |
static const PyOpalObject< C > * | object_m = nullptr |
Helper class to handle getting Attributes from python
Definition at line 70 of file PyOpalObject.h.
|
inline |
Constructor
Definition at line 415 of file PyOpalObject.h.
|
inline |
destructor
Definition at line 417 of file PyOpalObject.h.
PyObject * PyOpal::PyOpalObjectNS::PyOpalObjectGetProperty< C >::postcall | ( | ArgumentPackage const & | , |
PyObject * | result | ||
) |
postcall action
Definition at line 933 of file PyOpalObject.h.
References test::result.
|
inlinestatic |
Set pointer to the element; should be called before each postcall
Definition at line 430 of file PyOpalObject.h.
References PyOpal::PyOpalObjectNS::PyOpalObjectGetProperty< C >::object_m.
Referenced by PyOpal::PyOpalObjectNS::PyOpalObject< C >::dummyGet().
|
staticprivate |
Definition at line 435 of file PyOpalObject.h.
Referenced by PyOpal::PyOpalObjectNS::PyOpalObjectGetProperty< C >::setObject().
|
private |
Definition at line 434 of file PyOpalObject.h.
|
private |
Definition at line 433 of file PyOpalObject.h.