6#ifndef LSST_AFW_IMAGE_COLOR_H
7#define LSST_AFW_IMAGE_COLOR_H
50 return (
isIndeterminate() && other.isIndeterminate()) || other._g_r == _g_r;
Describe the colour of a source.
bool operator==(Color const &other) const noexcept
Equality comparison for colors.
~Color() noexcept=default
Color(double g_r=std::numeric_limits< double >::quiet_NaN())
Color & operator=(Color const &)=default
Color(Color const &)=default
std::size_t hash_value() const noexcept
Return a hash of this object.
bool isIndeterminate() const noexcept
Whether the color is the special value that indicates that it is unspecified.
bool operator!=(Color const &other) const noexcept
Color & operator=(Color &&)=default
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
A base class for image defects.
size_t operator()(argument_type const &obj) const noexcept