24#ifndef LSST_AFW_TABLE_IO_PYTHON_H
25#define LSST_AFW_TABLE_IO_PYTHON_H
27#include "pybind11/pybind11.h"
36using namespace py::literals;
55template <
typename Class,
typename... Args>
57 cls.def_static(
"readFits",
65 "fileName"_a,
"mode"_a =
"w");
68 "manager"_a,
"mode"_a =
"w");
69 cls.def(
"isPersistable", &Class::isPersistable);
Lifetime-management for memory that goes into FITS memory files.
A CRTP facade class for subclasses of Persistable.
const int DEFAULT_HDU
Specify that the default HDU should be read.
void addPersistableMethods(pybind11::class_< Class, Args... > &cls)
Add table::io::Persistable and PersistableFacade methods to the pybind11 wrapper for a class.