OpenMS
IDFilter::HasGoodScore< HitType > Struct Template Reference

Is the score of this hit at least as good as the given value? More...

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

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

Public Types

typedef HitType argument_type
 

Public Member Functions

 HasGoodScore (double score_, bool higher_score_better_)
 
bool operator() (const HitType &hit) const
 

Public Attributes

double score
 
bool higher_score_better
 

Detailed Description

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

Is the score of this hit at least as good as the given value?

Member Typedef Documentation

◆ argument_type

typedef HitType argument_type

Constructor & Destructor Documentation

◆ HasGoodScore()

HasGoodScore ( double  score_,
bool  higher_score_better_ 
)
inline

Member Function Documentation

◆ operator()()

bool operator() ( const HitType &  hit) const
inline

Member Data Documentation

◆ higher_score_better

bool higher_score_better

◆ score

double score