LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
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;
virtual std::string toString() const
Create a string representation of this object (optional operation).
std::size_t hash_value(Extent< T, N > const &extent) noexcept
virtual std::size_t hash_value() const
Return a hash of this object (optional operation).
Interface supporting iteration over heterogenous containers.
ItemVariant const * other
Exception thrown by Storable operations for unimplemented operations.
A base class for image defects.
std::ostream & operator<<(std::ostream &os, Key< K, V > const &key)
Output operator for Key.
#define LSST_EXCEPTION_TYPE(t, b, c)
Macro used to define new types of exceptions without additional data.
size_t operator()(argument_type const &obj) const
static bool singleClassEquals(T const &lhs, Storable const &rhs)
Test if a Storable is of a particular class and equal to another object.