|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
#include "PropertyAutoWrap.h"#include "PropertyConversionUtils.h"#include "PropertyNotOwnedError.h"#include <mitkIPropertyOwner.h>#include <pybind11/pybind11.h>Go to the source code of this file.
Functions | |
| template<typename PyClass > | |
| void | bind_property_owner (PyClass &cls) |
| Binds IPropertyOwner methods to a Python class. More... | |
| void bind_property_owner | ( | PyClass & | cls | ) |
Binds IPropertyOwner methods to a Python class.
Adds get_property / set_property / remove_property / property_is_owned / property_keys to the given pybind11 class. The underlying C++ type is inferred from PyClass::type, so call sites stay terse:
Definition at line 36 of file PropertyOwnerBindings.h.
References mitk::python::propertyToPythonValue(), and resolvePropertyValue().