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

Hash function for CVTermList. More...

#include <OpenMS/METADATA/CVTermList.h>

Public Member Functions

std::size_t operator() (const OpenMS::CVTermList &list) const noexcept
 

Detailed Description

Hash function for CVTermList.

Hashes based on the MetaInfoInterface base class and all CV terms. Iterates through the map of accession -> vector<CVTerm>.

Note
std::map iteration order is deterministic (sorted by key), so equal CVTermList objects will produce identical hash values without explicit sorting.

Member Function Documentation

◆ operator()()

std::size_t operator() ( const OpenMS::CVTermList list) const
inlinenoexcept