LSSTApplications
18.1.0
LSSTDataManagementBasePackage
|
#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_t > | lsst::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... | |