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

Hash function for MetaInfoInterface. More...

#include <OpenMS/METADATA/MetaInfoInterface.h>

Public Member Functions

std::size_t operator() (const OpenMS::MetaInfoInterface &meta) const noexcept
 

Detailed Description

Hash function for MetaInfoInterface.

Hashes based on all meta info key-value pairs using order-independent accumulation. Uses direct iterator access for O(n) complexity without allocating intermediate vectors.

Note
Uses additive accumulation (commutative) so equal MetaInfoInterface objects produce equal hashes regardless of internal storage order.

Member Function Documentation

◆ operator()()

std::size_t operator() ( const OpenMS::MetaInfoInterface meta) const
inlinenoexcept