24#ifndef LSST_AFW_IMAGE_ApCorrMap_h_INCLUDED
25#define LSST_AFW_IMAGE_ApCorrMap_h_INCLUDED
81 ApCorrMap& operator*=(
double const scale);
82 ApCorrMap& operator/=(
double const scale) {
return *
this *= 1.0 / scale; }
table::Key< std::string > name
A thin wrapper around std::map to allow aperture corrections to be attached to Exposures.
std::shared_ptr< typehandling::Storable > cloneStorable() const override
Create a new ApCorrMap that is a copy of this one.
void write(OutputArchiveHandle &handle) const override
Write the object to one or more catalogs.
ApCorrMap(ApCorrMap const &)=default
bool isPersistable() const noexcept override
Whether the map is persistable (true IFF all contained BoundedFields are persistable).
std::string getPythonModule() const override
Return the fully-qualified Python module that should be imported to guarantee that its factory is reg...
ApCorrMap(ApCorrMap &&)=default
std::shared_ptr< math::BoundedField > const get(std::string const &name) const
Return the field with the given name, returning an empty pointer when the name is not present.
std::string getPersistenceName() const override
Return the unique name used to persist this object and look up its factory.
static std::size_t const MAX_NAME_LENGTH
Maximum number of characters for an aperture correction name (required for persistence).
std::shared_ptr< math::BoundedField > const operator[](std::string const &name) const
Return the field with the given name, throwing NotFoundError when the name is not present.
ApCorrMap & operator=(ApCorrMap const &)=default
Internal::const_iterator Iterator
Iterator type returned by begin() and end().
ApCorrMap & operator=(ApCorrMap &&)=default
~ApCorrMap() override=default
A CRTP facade class for subclasses of Persistable.
io::OutputArchiveHandle OutputArchiveHandle
Interface supporting iteration over heterogenous containers.
daf::base::PropertySet * set