LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #include "pybind11/pybind11.h"
33 using namespace py::literals;
39 namespace typehandling {
48 cls.def(py::init<>());
50 cls.def(
"__eq__", [](Storable const& self, Storable const& other) { return self.equals(other); },
void addInheritanceDependency(std::string const &name)
Indicate an external module that provides a base class for a subsequent addType call.
A shared pointer that tracks both a C++ object and its associated PyObject.
void wrapStorable(utils::python::WrapperCollection &wrappers)
py::class_< Storable, PySharedPtr< Storable >, table::io::Persistable, StorableHelper<> > PyStorable
PyType wrapType(PyType cls, ClassWrapperCallback function, bool setModuleName=true)
Add a type (class or enum) wrapper, deferring method and other attribute definitions until finish() i...
A helper class for subdividing pybind11 module across multiple translation units (i....
A base class for image defects.
A base class for objects that can be persisted via afw::table::io Archive classes.
pybind11::module module
The module object passed to the PYBIND11_MODULE block that contains this WrapperCollection.
"Trampoline" for Storable to let it be used as a base class in Python.