40 LOG_LOGGER _log =
LOG_GET(
"afw.PropertyListFormatter");
47 namespace formatters {
53 :
lsst::daf::persistence::Formatter(typeid(this)) {}
58 LOGL_DEBUG(_log,
"PropertyListFormatter write start");
64 auto & actualStorage = *storage;
67 "FitsStorage for PropertyList read-only (writing is not supported)");
78 metadata->combine(inheritedMetadata);
87 LOGL_DEBUG(_log,
"PropertyListFormatter read start");
91 LOGL_DEBUG(_log,
"PropertyListFormatter read FitsStorage");
93 auto ip = readMetadataAsUniquePtr(fits->getPath(), fits->getHdu(),
false);
95 LOGL_DEBUG(_log,
"PropertyListFormatter read end");
107 template <
class Archive>
110 LOGL_DEBUG(_log,
"PropertyListFormatter delegateSerialize start");
lsst::daf::base::PropertyList PropertyList
#define LOGL_DEBUG(logger, message...)
std::shared_ptr< daf::base::PropertyList > readMetadata(std::string const &fileName, int hdu=DEFAULT_HDU, bool strip=false)
Read FITS header.
A base class for image defects.
T dynamic_pointer_cast(T... args)
#define LSST_EXCEPT(type,...)