LSST Applications g0fba68d861+05a5e06e50,g1fd858c14a+904f1f4196,g2c84ff76c0+247cd845a2,g2c9e612ef2+f5117f1d55,g35bb328faa+fcb1d3bbc8,g4af146b050+123c2f4d45,g4d2262a081+a9e7a6e053,g4e0f332c67+c58e4b632d,g53246c7159+fcb1d3bbc8,g5a012ec0e7+ac98094cfc,g60b5630c4e+f5117f1d55,g67b6fd64d1+dd0349c22b,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g87b7deb4dc+2a1aa4536a,g8852436030+d21aad2af4,g89139ef638+dd0349c22b,g8d6b6b353c+f5117f1d55,g9125e01d80+fcb1d3bbc8,g989de1cb63+dd0349c22b,g9f33ca652e+0a580a37dd,g9f7030ddb1+ae84e0d5a5,ga2b97cdc51+f5117f1d55,gabe3b4be73+1e0a283bba,gb1101e3267+1d994e7598,gb58c049af0+f03b321e39,gb89ab40317+dd0349c22b,gcca6a94b71+4ed007ada1,gcf25f946ba+d21aad2af4,gd315a588df+9d9c5ccff1,gd6cbbdb0b4+75aa4b1db4,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+6fce216140,ge278dab8ac+c61fbefdff,ge410e46f29+dd0349c22b,ge82c20c137+e12a08b75a,gf67bdafdda+dd0349c22b,v28.0.2.rc1
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. | |