lsst.jointcal  15.0-17-g076ea75+5
Public Member Functions | List of all members
std::hash< lsst::jointcal::CcdImageKey > Struct Template Reference

Hash a ccdImage by its visit and ccd IDs. More...

#include <CcdImage.h>

Public Member Functions

size_t operator() (lsst::jointcal::CcdImageKey const &ccdImage) const
 

Detailed Description

template<>
struct std::hash< lsst::jointcal::CcdImageKey >

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.

Definition at line 212 of file CcdImage.h.

Member Function Documentation

◆ operator()()

size_t std::hash< lsst::jointcal::CcdImageKey >::operator() ( lsst::jointcal::CcdImageKey const &  ccdImage) const
inline

Definition at line 213 of file CcdImage.h.


The documentation for this struct was generated from the following file: