Namespace std

namespace std

Functions

void swap(lsst::afw::cameraGeom::CameraSys &a, lsst::afw::cameraGeom::CameraSys &b)
template<>
void swap(lsst::afw::typehandling::PolymorphicValue &lhs, lsst::afw::typehandling::PolymorphicValue &rhs)

Swap specialization for PolymorphicValue.

template<>
struct hash<lsst::afw::typehandling::PolymorphicValue>
#include <PolymorphicValue.h>

Hash specialization for PolymorphicValue.

Return

the hash of the Storable inside the PolymorphicValue, or an arbitrary value if it is empty

Exceptions
  • UnsupportedOperationException: Thrown if the Storable is not hashable.

template<>
struct hash<lsst::afw::typehandling::Storable>
#include <Storable.h>

Generic hash to allow polymorphic access to Storable

Exceptions
  • UnsupportedOperationException: Thrown if the argument is not hashable.

template<>
struct hash<lsst::jointcal::CcdImageKey>
#include <CcdImage.h>

Hash a ccdImage by its visit and ccd IDs.

ccdId and visitId are both 32-bit ints, hash() returns a size_t, so put the ccdId in the most-significant-bit, and the visitId in the least for a simple, unique, hash per ccdImage.