OpenMS  2.6.0
Public Types | Public Member Functions | Public Attributes | List of all members
IDFilter::HasMatchingAccession< HitType > Struct Template Reference

Given a list of protein accessions, do any occur in the annotation(s) of this hit? More...

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

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

Public Types

typedef HitType argument_type
 

Public Member Functions

 HasMatchingAccession (const std::set< String > &accessions_)
 
bool operator() (const PeptideHit &hit) const
 
bool operator() (const ProteinHit &hit) const
 
bool operator() (const PeptideEvidence &evidence) const
 

Public Attributes

const std::set< String > & accessions
 

Detailed Description

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

Given a list of protein accessions, do any occur in the annotation(s) of this hit?

Note
This predicate also works for peptide evidence (class PeptideEvidence).

Member Typedef Documentation

◆ argument_type

typedef HitType argument_type

Constructor & Destructor Documentation

◆ HasMatchingAccession()

HasMatchingAccession ( const std::set< String > &  accessions_)
inline

Member Function Documentation

◆ operator()() [1/3]

bool operator() ( const PeptideEvidence evidence) const
inline

◆ operator()() [2/3]

bool operator() ( const PeptideHit hit) const
inline

◆ operator()() [3/3]

bool operator() ( const ProteinHit hit) const
inline

Member Data Documentation

◆ accessions

const std::set<String>& accessions