25 #ifndef LSST_AFW_FORMATTERS_TANWCSFORMATTER_H 26 #define LSST_AFW_FORMATTERS_TANWCSFORMATTER_H 32 #include "lsst/daf/base.h" 33 #include "lsst/daf/persistence.h" 42 namespace formatters {
52 virtual void write(lsst::daf::base::Persistable
const*
persistable,
53 std::shared_ptr<lsst::daf::persistence::FormatterStorage> storage,
54 std::shared_ptr<lsst::daf::base::PropertySet> additionalData);
55 virtual lsst::daf::base::Persistable* read(std::shared_ptr<lsst::daf::persistence::FormatterStorage> storage,
56 std::shared_ptr<lsst::daf::base::PropertySet> additionalData);
57 virtual void update(lsst::daf::base::Persistable* persistable,
58 std::shared_ptr<lsst::daf::persistence::FormatterStorage> storage,
59 std::shared_ptr<lsst::daf::base::PropertySet> additionalData);
61 static std::shared_ptr<lsst::daf::base::PropertyList> generatePropertySet(
63 static std::shared_ptr<lsst::daf::persistence::Formatter> createInstance(
64 std::shared_ptr<lsst::pex::policy::Policy> policy);
66 template <
class Archive>
67 static void delegateSerialize(Archive& ar,
int const version, lsst::daf::base::Persistable* persistable);
70 explicit TanWcsFormatter(std::shared_ptr<lsst::pex::policy::Policy> policy);
72 static lsst::daf::persistence::FormatterRegistration registration;
A base class for image defects.
Implementation of the WCS standard for the special case of the Gnomonic (tangent plane) projection...