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

Hash function for OpenMS::Software. More...

#include <OpenMS/METADATA/Software.h>

Public Member Functions

std::size_t operator() (const OpenMS::Software &s) const noexcept
 

Detailed Description

Hash function for OpenMS::Software.

Hashes name and version fields. Note: CVTermList base class fields are not included in the hash as CVTermList does not yet have a hash implementation. This hash is consistent with operator== for objects that differ only in the Software-specific fields.

Member Function Documentation

◆ operator()()

std::size_t operator() ( const OpenMS::Software s) const
inlinenoexcept