OpenMS
IDFilter::HasMaxRank< HitType > Struct Template Reference

Is the rank of this hit below or at the given cut-off? More...

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

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

Public Types

typedef HitType argument_type
 

Public Member Functions

 HasMaxRank (Size rank_)
 
bool operator() (const HitType &hit) const
 

Public Attributes

Size rank
 

Detailed Description

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

Is the rank of this hit below or at the given cut-off?

Ranks are counted from one (best), so zero is not a valid cut-off.

Member Typedef Documentation

◆ argument_type

typedef HitType argument_type

Constructor & Destructor Documentation

◆ HasMaxRank()

HasMaxRank ( Size  rank_)
inline

Member Function Documentation

◆ operator()()

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

Member Data Documentation

◆ rank

Size rank