lsst.utils
13.0-12-gac01bb5+9
|
#include "pybind11/pybind11.h"
#include <cstddef>
#include <memory>
#include <string>
#include <sstream>
#include <utility>
#include "lsst/pex/exceptions.h"
Go to the source code of this file.
Namespaces | |
lsst | |
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... | |
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... | |