Class ApCorrMap¶
Defined in File ApCorrMap.h
Inheritance Relationships¶
Base Types¶
public lsst::afw::table::io::PersistableFacade< ApCorrMap >
(Template Class PersistableFacade)public Storable
Class Documentation¶
-
class
ApCorrMap
: public lsst::afw::table::io::PersistableFacade<ApCorrMap>, public Storable A thin wrapper around std::map to allow aperture corrections to be attached to Exposures.
ApCorrMap simply adds error handling accessors, persistence, and a bit of encapsulation to std::map (given the simplified interface, for instance, we could switch to unordered_map or some other underyling container in the future).
Public Types
Public Functions
-
ApCorrMap
()¶
-
~ApCorrMap
()¶
-
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.
-
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.
Add or replace an aperture correction.
-
bool
isPersistable
() const¶ Whether the map is persistable (true IFF all contained BoundedFields are persistable).
-
std::shared_ptr<typehandling::Storable>
cloneStorable
() const¶ Create a new ApCorrMap that is a copy of this one.
-