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