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

Hash function for OpenMS::NuXLFragmentAdductDefinition. More...

#include <OpenMS/ANALYSIS/NUXL/NuXLFragmentAdductDefinition.h>

Public Member Functions

std::size_t operator() (const OpenMS::NuXLFragmentAdductDefinition &fad) const noexcept
 

Detailed Description

Hash function for OpenMS::NuXLFragmentAdductDefinition.

Computes a hash based on all fields used in operator==: formula (EmpiricalFormula) and name (String).

Note
Hash is consistent with operator==.

Member Function Documentation

◆ operator()()

std::size_t operator() ( const OpenMS::NuXLFragmentAdductDefinition fad) const
inlinenoexcept