32 std::shared_ptr<table::io::Persistable>
const&);
40 std::shared_ptr<table::io::Persistable>
read(InputArchive
const& archive,
41 CatalogVector
const& catalogs)
const override {
49 CoaddInputsFactory(std::string
const& name) :
table::io::PersistableFactory(name) {}
52CoaddInputsFactory registration(
"CoaddInputs");
73 return std::make_unique<CoaddInputs>(*
this);
81 visits.writeToArchive(handle,
true);
82 ccds.writeToArchive(handle,
true);
#define LSST_ARCHIVE_ASSERT(EXPR)
An assertion macro used to validate the structure of an InputArchive.
static ExposureCatalogT readFromArchive(io::InputArchive const &archive, BaseCatalog const &catalog)
Defines the fields and offsets for a table.
static std::shared_ptr< T > dynamicCast(std::shared_ptr< Persistable > const &ptr)
Dynamically cast a shared_ptr.
A base class for factory classes used to reconstruct objects from records.
io::OutputArchiveHandle OutputArchiveHandle
ExposureCatalogT< ExposureRecord > ExposureCatalog
std::shared_ptr< table::io::Persistable > read(table::io::InputArchive const &archive, table::io::CatalogVector const &catalogs) const override