LSST Applications  21.0.0-1-g8760c09+64c1bc5aa5,21.0.0-1-ga51b5d4+e2771d8e6b,21.0.0-100-g362f0c00+ec56cd5d69,21.0.0-13-g64487bb+f50f72bd5b,21.0.0-17-gd94932e+f1f2fb53a4,21.0.0-18-g4012351+65d1feeb8a,21.0.0-19-g516417f+a88023d45b,21.0.0-2-g103fe59+02f9818220,21.0.0-2-g45278ab+64c1bc5aa5,21.0.0-2-g5242d73+7fe25e045f,21.0.0-2-g7f82c8f+a5bd45a7af,21.0.0-2-gde069b7+4f46bdaea8,21.0.0-2-gfc62afb+7fe25e045f,21.0.0-20-g1e553c2+c78ce14d6b,21.0.0-20-g3b2d1f0+8b3b765e64,21.0.0-26-g3991e66+5fbe9bfbbb,21.0.0-28-gbcb0c927+39607a64fa,21.0.0-3-g1b65d06+f60ee3c1e0,21.0.0-3-g357aad2+e8663fc531,21.0.0-3-g4a4ce7f+7fe25e045f,21.0.0-3-g4be5c26+7fe25e045f,21.0.0-3-ge02ed75+65d1feeb8a,21.0.0-3-gf9d8b05+a5bd45a7af,21.0.0-4-g7dab645+67b8614301,21.0.0-4-ge8a399c+1e1d9f774e,21.0.0-40-g7f68a11f8+2cf3208f55,21.0.0-5-g19a7531+65d1feeb8a,21.0.0-5-g8c1d971+7b9a448d34,21.0.0-5-gcc89fd6+fdc5edd43f,21.0.0-5-gd00fb1e+d131501fdd,21.0.0-5-ge793dc4+fdc5edd43f,21.0.0-6-g0bf7090+18535a8d22,21.0.0-6-gc54ca17+905319e4aa,21.0.0-6-gc675373+7fe25e045f,21.0.0-7-gdf92d54+64c1bc5aa5,21.0.0-8-g5674e7b+02675bd748,master-gac4afde19b+65d1feeb8a,master-gcc5351303a+02f9818220,w.2021.24
LSST Data Management Base Package
Classes | Namespaces | Functions
python.h File Reference
#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::utils::python::WrapperCollection
 A helper class for subdividing pybind11 module across multiple translation units (i.e. More...
 

Namespaces

 lsst
 A base class for image defects.
 
 lsst::utils
 
 lsst::utils::python
 

Functions

template<typename T , typename PyClass >
void lsst::utils::python::addSharedPtrEquality (PyClass &cls)
 Add __eq__ and __ne__ methods based on two std::shared_ptr<T> pointing to the same address. More...
 
template<class PyClass >
void lsst::utils::python::addOutputOp (PyClass &cls, std::string const &method)
 Add __str__ or __repr__ method implemented by operator<<. More...
 
template<class PyClass >
void lsst::utils::python::addHash (PyClass &cls)
 Add __hash__ method implemented by std::hash. More...
 
std::size_t lsst::utils::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. More...
 
std::pair< std::size_t, std::size_tlsst::utils::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. More...