|
| template<class Algorithm, class PyAlg> |
| std::enable_if<!std::is_abstract< Algorithm >::value, void >::type | declareAlgorithmConstructor (PyAlg &cls) |
| | Wrap the standard algorithm constructor.
|
| |
| template<class Algorithm, class PyAlg> |
| std::enable_if< std::is_abstract< Algorithm >::value, void >::type | declareAlgorithmConstructor (PyAlg &cls) |
| | Dummy function for not wrapping the constructor of an abstract base class.
|
| |
| template<class Algorithm, class PyAlg> |
| void | declareAlgorithm (PyAlg &clsAlgorithm) |
| | Wrap the implicit API used by meas_base's algorithms.
|
| |
| template<class Algorithm, class Control, class PyAlg, class PyCtrl> |
| void | declareAlgorithm (PyAlg &clsAlgorithm, PyCtrl &clsControl) |
| | Wrap the implicit API used by meas_base's algorithm-control pairs (no transform).
|
| |
| template<class Algorithm, class Control, class Transform, class PyAlg, class PyCtrl, class PyXform> |
| void | declareAlgorithm (PyAlg &clsAlgorithm, PyCtrl &clsControl, PyXform &clsTransform) |
| | Wrap the implicit API used by meas_base's algorithm-control-transform triads.
|
| |
template<class Algorithm, class PyAlg>
| void lsst::meas::base::python::declareAlgorithm |
( |
PyAlg & | clsAlgorithm | ) |
|
Wrap the implicit API used by meas_base's algorithms.
This function only initializes constructors, fields, and methods common to all Algorithms.
- Template Parameters
-
| Algorithm | The algorithm class. |
| PyAlg | The pybind11::class_ class corresponding to Algorithm. |
- Parameters
-
| [in,out] | clsAlgorithm | The pybind11 wrapper for Algorithm. |
Definition at line 87 of file python.h.
template<class Algorithm, class
Control, class Transform, class PyAlg, class PyCtrl, class PyXform>
| void lsst::meas::base::python::declareAlgorithm |
( |
PyAlg & | clsAlgorithm, |
|
|
PyCtrl & | clsControl, |
|
|
PyXform & | clsTransform ) |
Wrap the implicit API used by meas_base's algorithm-control-transform triads.
This function only initializes constructors, fields, and methods common to all Algorithms, Controls, and Transforms.
- Template Parameters
-
| Algorithm | The algorithm class. |
| Control | The control class. Must equal Algorithm::Control and Transform::Control. |
| Transform | The transform class. |
| PyAlg | The pybind11::class_ class corresponding to Algorithm. |
| PyCtrl | The pybind11::class_ class corresponding to Control. |
| PyXform | The pybind11::class_ class corresponding to Transform. |
- Parameters
-
| [in,out] | clsAlgorithm,clsControl,clsTransform | The pybind11 wrappers for the respective C++ classes. |
Definition at line 148 of file python.h.
template<class Algorithm, class PyAlg>
Dummy function for not wrapping the constructor of an abstract base class.
Pybind11 cannot wrap such constructors, and there is no reason to call them from Python anyway.
- Template Parameters
-
| Algorithm | The algorithm class. |
| PyAlg | The pybind11::class_ class corresponding to Algorithm. |
- Parameters
-
| [in,out] | cls | The pybind11 wrapper for Algorithm. |
Definition at line 72 of file python.h.