OpenMS
Loading...
Searching...
No Matches
hash< OpenMS::IonDetector > Struct Reference

Hash function for OpenMS::IonDetector. More...

#include <OpenMS/METADATA/IonDetector.h>

Public Member Functions

std::size_t operator() (const OpenMS::IonDetector &d) const noexcept
 

Detailed Description

Hash function for OpenMS::IonDetector.

Hashes type, acquisition mode, resolution, ADC sampling frequency, and order. Note: MetaInfoInterface base class fields are not included in the hash as MetaInfoInterface does not yet have a hash implementation. This hash is consistent with operator== for objects that differ only in the IonDetector-specific fields.

Member Function Documentation

◆ operator()()

std::size_t operator() ( const OpenMS::IonDetector d) const
inlinenoexcept