lsst.afw
19.0.0-24-gf0e72354e+1
|
Go to the documentation of this file.
24 #ifndef LSST_AFW_TYPEHANDLING_PYTHON_H
25 #define LSST_AFW_TYPEHANDLING_PYTHON_H
27 #include "pybind11/pybind11.h"
35 namespace typehandling {
49 template <
class Base = Storable>
70 PYBIND11_OVERLOAD_NAME(
bool, Base,
"__eq__",
equals,
other);
std::string declareGenericMapRestrictions(std::string const &className, std::string const &keyName)
bool equals(Storable const &other) const noexcept override
Compare this object to another Storable.
std::size_t hash_value() const override
Return a hash of this object (optional operation).
Interface supporting iteration over heterogenous containers.
std::string toString() const override
Create a string representation of this object (optional operation).
std::shared_ptr< Storable > cloneStorable() const override
Create a new object that is a copy of this one (optional operation).
ItemVariant const * other
A base class for image defects.
"Trampoline" for Storable to let it be used as a base class in Python.