|
LSST Applications g1653933729+b86e4b8053,g2303c004a3+a99d6d42bd,g28da252d5a+3e0fd49a16,g2bbee38e9b+db5ba6d06c,g2bc492864f+db5ba6d06c,g2cdde0e794+b03b09fb0a,g3156d2b45e+b0ccf75d80,g347aa1857d+db5ba6d06c,g35bb328faa+b86e4b8053,g3a166c0a6a+db5ba6d06c,g3e281a1b8c+c9a36f98fc,g414038480c+70d5606f74,g42360bd172+a99d6d42bd,g461a3dce89+b86e4b8053,g5c9cb89fa5+b7dae1cdc6,g7f102674c4+d27c5e2769,g7f343241b9+516b07f5d7,g80478fca09+ee10125a54,g82479be7b0+11c35b2845,g858d7b2824+a99d6d42bd,g8cd86fa7b1+cb4c24add2,g9125e01d80+b86e4b8053,g979bb04a14+30ae7a28c8,g9ddcbc5298+b4cb6f9276,ga44b09e51c+390e0c76f2,ga5288a1d22+c32cd41bfc,gae0086650b+b86e4b8053,gb58c049af0+2fe46b4317,gc28159a63d+db5ba6d06c,gcd45df26be+a99d6d42bd,gcf0d15dbbd+be93eff7c7,gda6a2b7d83+be93eff7c7,gdaeeff99f8+b9455e0a82,ge5cf12406b+e20940066e,ge79ae78c31+db5ba6d06c,ge7c99ddb59+26aa1bc97f,gf048a9a2f4+f6d4943a12,gf0baf85859+e0282cf37d,w.2024.32
LSST Data Management Base Package
|
#include "pybind11/pybind11.h"#include <cstddef>#include <memory>#include <string>#include <sstream>#include <utility>#include <list>#include <functional>#include <iostream>#include "lsst/pex/exceptions.h"#include "lsst/pex/exceptions/python/Exception.h"Go to the source code of this file.
Classes | |
| class | lsst::cpputils::python::WrapperCollection |
| A helper class for subdividing pybind11 module across multiple translation units (i.e. More... | |
Namespaces | |
| namespace | lsst |
| namespace | lsst::cpputils |
| namespace | lsst::cpputils::python |
Functions | |
| template<typename T , typename PyClass > | |
| void | lsst::cpputils::python::addSharedPtrEquality (PyClass &cls) |
Add __eq__ and __ne__ methods based on two std::shared_ptr<T> pointing to the same address. | |
| template<class PyClass > | |
| void | lsst::cpputils::python::addOutputOp (PyClass &cls, std::string const &method) |
Add __str__ or __repr__ method implemented by operator<<. | |
| template<class PyClass > | |
| void | lsst::cpputils::python::addHash (PyClass &cls) |
Add __hash__ method implemented by std::hash. | |
| std::size_t | lsst::cpputils::python::cppIndex (std::ptrdiff_t size, std::ptrdiff_t i) |
| Compute a C++ index from a Python index (negative values count from the end) and range-check. | |
| std::pair< std::size_t, std::size_t > | lsst::cpputils::python::cppIndex (std::ptrdiff_t size_i, std::ptrdiff_t size_j, std::ptrdiff_t i, std::ptrdiff_t j) |
| Compute a pair of C++ indices from a pair of Python indices (negative values count from the end) and range-check. | |