LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
25 #ifndef LSST_AFW_TYPEHANDLING_POLYMORPHICVALUE_H
26 #define LSST_AFW_TYPEHANDLING_POLYMORPHICVALUE_H
35 namespace typehandling {
104 bool empty() const noexcept;
167 struct hash<
lsst::afw::typehandling::PolymorphicValue> {
size_t operator()(argument_type const &obj) const
bool empty() const noexcept
Check whether this object contains a Storable.
Interface supporting iteration over heterogenous containers.
void swap(PolymorphicValue &other) noexcept
Exchange the contents of this container and another.
PolymorphicValue(Storable const &value)
Create a new object containing a copy of a Storable.
~PolymorphicValue() noexcept
ItemVariant const * other
void swap(PolymorphicValue &lhs, PolymorphicValue &rhs) noexcept
Swap specialization for PolymorphicValue.
Container that passes Storable objects by value while preserving type.
A base class for image defects.
Storable & get()
Return a reference to the internal Storable, if one exists.
std::size_t hash_value() const
Return a hash of this object (optional operation).