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

Hash function for OpenMS::AnnotatedMSRun. More...

Public Member Functions

std::size_t operator() (const OpenMS::AnnotatedMSRun &run) const noexcept
 

Detailed Description

Hash function for OpenMS::AnnotatedMSRun.

Hashes all fields used in operator==: data (MSExperiment), peptide_ids_, and protein_ids_. Since the component types don't have std::hash specializations, this hash uses identifying properties (sizes and identifiers) to create a fast, consistent hash.

Member Function Documentation

◆ operator()()

std::size_t operator() ( const OpenMS::AnnotatedMSRun run) const
inlinenoexcept