LSST Applications  21.0.0-1-g8760c09+64c1bc5aa5,21.0.0-1-ga51b5d4+1350bb8745,21.0.0-120-g57749b33+77c36da417,21.0.0-14-g3bd782b+62bd888395,21.0.0-19-gd0ca341+838f035eb4,21.0.0-2-g103fe59+72fa3717e3,21.0.0-2-g45278ab+64c1bc5aa5,21.0.0-2-g7f82c8f+c94709d2a4,21.0.0-2-gde069b7+11a2aa21cd,21.0.0-2-gfc62afb+6396df189c,21.0.0-20-g1e553c2+573b22c308,21.0.0-21-g51ee50f4+4b5bad23d2,21.0.0-21-gb17f18e+23ef0c54f7,21.0.0-22-g57c5a76+ef01df0b67,21.0.0-27-gcbf119a+a00fe59290,21.0.0-3-g1b65d06+b174077c85,21.0.0-3-g357aad2+d6fe283175,21.0.0-3-g4a4ce7f+6396df189c,21.0.0-3-g4be5c26+6396df189c,21.0.0-3-ga324b9c+6396df189c,21.0.0-3-ge02ed75+ef01df0b67,21.0.0-3-gf9d8b05+c94709d2a4,21.0.0-33-g0da61bd6+3fb5ecf9cc,21.0.0-4-g7dab645+99b0103697,21.0.0-47-gf1d71818e+649249edd3,21.0.0-5-g5f8d297+2da38119fb,21.0.0-5-g8c1d971+02ffdaf10e,21.0.0-5-gcc89fd6+782b3b5ca8,21.0.0-5-gd00fb1e+5ffc17f859,21.0.0-6-g1930a60+782b3b5ca8,21.0.0-6-gc675373+6396df189c,21.0.0-7-g0503b2e+6b209d634c,21.0.0-7-g7aa11f2+ef01df0b67,21.0.0-7-g997b569+a0df6514ce,21.0.0-8-g949febb+64c1bc5aa5,21.0.0-9-g7058be7+37de8fccb6,master-ga86695c5c8+ef01df0b67,master-gcc5351303a+72fa3717e3,v22.0.0.rc2
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...