OpenMS
IDFilter::GetMatchingItems< HitType, Entry > Struct Template Reference

Builds a map index of data that have a String index to find matches and return the objects. More...

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

Inheritance diagram for IDFilter::GetMatchingItems< HitType, Entry >:
[legend]
Collaboration diagram for IDFilter::GetMatchingItems< HitType, Entry >:
[legend]

Public Types

typedef HitType argument_type
 
typedef std::map< String, Entry * > ItemMap
 

Public Member Functions

 GetMatchingItems (std::vector< Entry > &records)
 
 GetMatchingItems ()
 
const StringgetKey (const FASTAFile::FASTAEntry &entry) const
 
bool exists (const HitType &hit) const
 
const StringgetHitKey (const PeptideEvidence &p) const
 
const Entry & getValue (const PeptideEvidence &evidence) const
 

Public Attributes

ItemMap items
 

Detailed Description

template<class HitType, class Entry>
struct OpenMS::IDFilter::GetMatchingItems< HitType, Entry >

Builds a map index of data that have a String index to find matches and return the objects.

Note
Currently implemented for Fasta Entries and Peptide Evidences

Member Typedef Documentation

◆ argument_type

typedef HitType argument_type

◆ ItemMap

typedef std::map<String, Entry*> ItemMap

Constructor & Destructor Documentation

◆ GetMatchingItems() [1/2]

GetMatchingItems ( std::vector< Entry > &  records)
inline

◆ GetMatchingItems() [2/2]

GetMatchingItems ( )
inline

Member Function Documentation

◆ exists()

bool exists ( const HitType &  hit) const
inline

◆ getHitKey()

const String& getHitKey ( const PeptideEvidence p) const
inline

◆ getKey()

const String& getKey ( const FASTAFile::FASTAEntry entry) const
inline

◆ getValue()

const Entry& getValue ( const PeptideEvidence evidence) const
inline

Member Data Documentation

◆ items

ItemMap items