38class CoaddInputsFactory :
public table::io::PersistableFactory {
41 CatalogVector
const& catalogs)
const override {
52CoaddInputsFactory registration(
"CoaddInputs");
56CoaddInputs::CoaddInputs() : visits(), ccds() {}
59 : visits(visitSchema), ccds(ccdSchema) {}
62 : visits(visits_), ccds(ccds_) {}
73 return std::make_unique<CoaddInputs>(*
this);
table::Key< std::string > name
#define LSST_ARCHIVE_ASSERT(EXPR)
An assertion macro used to validate the structure of an InputArchive.
Custom catalog class for ExposureRecord/Table.
static ExposureCatalogT readFromArchive(io::InputArchive const &archive, BaseCatalog const &catalog)
Convenience input function for Persistables that contain an ExposureCatalog.
void writeToArchive(io::OutputArchiveHandle &handle, bool ignoreUnpersistable=true) const
Convenience output function for Persistables that contain an ExposureCatalog.
Defines the fields and offsets for a table.
An object passed to Persistable::write to allow it to persist itself.
static std::shared_ptr< T > dynamicCast(std::shared_ptr< Persistable > const &ptr)
Dynamically cast a shared_ptr.
std::shared_ptr< table::io::Persistable > read(table::io::InputArchive const &archive, table::io::CatalogVector const &catalogs) const override