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

Hash function for LightProtein. More...

Public Member Functions

std::size_t operator() (const OpenSwath::LightProtein &p) const noexcept
 

Detailed Description

Hash function for LightProtein.

Hashes based on the id which serves as the unique identifier. This enables use in std::unordered_map and std::unordered_set.

Member Function Documentation

◆ operator()()

std::size_t operator() ( const OpenSwath::LightProtein p) const
inlinenoexcept