24 #ifndef LSST_AFW_TABLE_IO_PYTHON_H 25 #define LSST_AFW_TABLE_IO_PYTHON_H 27 #include "pybind11/pybind11.h" 61 pybind11::class_<PersistableFacade<T>, std::shared_ptr<PersistableFacade<T>>>
cls(
62 module, (
"PersistableFacade" + suffix).c_str());
63 cls.def_static(
"readFits",
65 "fileName"_a,
"hdu"_a = INT_MIN);
66 cls.def_static(
"readFits",
68 "manager"_a,
"hdu"_a = INT_MIN);
void declarePersistableFacade(pybind11::module &module, std::string const &suffix)
Wraps an instantiation of PersistableFacade.
A base class for image defects.
Lifetime-management for memory that goes into FITS memory files.
A CRTP facade class for subclasses of Persistable.