OpenMS
Loading...
Searching...
No Matches
IDFilter::HasMetaValue< HitType > Struct Template Reference

Is a meta value with given key and value set on this hit? More...

#include <OpenMS/PROCESSING/ID/IDFilter.h>

Collaboration diagram for IDFilter::HasMetaValue< HitType >:
[legend]

Public Types

typedef HitType argument_type
 

Public Member Functions

 HasMetaValue (const std::string &key_, const DataValue &value_)
 
bool operator() (const HitType &hit) const
 

Public Attributes

std::string key
 
DataValue value
 

Detailed Description

template<class HitType>
struct OpenMS::IDFilter::HasMetaValue< HitType >

Is a meta value with given key and value set on this hit?

If the value is empty (DataValue::EMPTY), only the existence of a meta value with the given key is checked.

Member Typedef Documentation

◆ argument_type

template<class HitType >
typedef HitType argument_type

Constructor & Destructor Documentation

◆ HasMetaValue()

template<class HitType >
HasMetaValue ( const std::string &  key_,
const DataValue value_ 
)
inline

Member Function Documentation

◆ operator()()

template<class HitType >
bool operator() ( const HitType &  hit) const
inline

References found, and DataValue::isEmpty().

Member Data Documentation

◆ key

template<class HitType >
std::string key

◆ value

template<class HitType >
DataValue value