25 #ifndef LSST_AFW_TYPEHANDLING_STORABLE_H 26 #define LSST_AFW_TYPEHANDLING_STORABLE_H 38 namespace typehandling {
56 class
Storable : public table::io::Persistable {
137 auto typedRhs =
dynamic_cast<T const*
>(&rhs);
138 if (typedRhs !=
nullptr) {
139 return lhs == *typedRhs;
size_t operator()(argument_type const &obj) const
Interface supporting iteration over heterogenous containers.
std::ostream & operator<<(std::ostream &os, Key< K, V > const &key)
Output operator for Key.
std::size_t hash_value(Extent< T, N > const &extent) noexcept
Exception thrown by Storable operations for unimplemented operations.
A base class for image defects.
virtual std::string toString() const
Create a string representation of this object (optional operation).
ItemVariant const * other
#define LSST_EXCEPTION_TYPE(t, b, c)
Macro used to define new types of exceptions without additional data.
virtual std::size_t hash_value() const
Return a hash of this object (optional operation).
static bool singleClassEquals(T const &lhs, Storable const &rhs)
Test if a Storable is of a particular class and equal to another object.