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

Hash function for LightModification. More...

Public Member Functions

std::size_t operator() (const OpenSwath::LightModification &m) const noexcept
 

Detailed Description

Hash function for LightModification.

Hashes based on location and unimod_id using a proper combining function to reduce collision probability. This enables use in std::unordered_map and std::unordered_set.

Member Function Documentation

◆ operator()()

std::size_t operator() ( const OpenSwath::LightModification m) const
inlinenoexcept