| OpenMS 2.5.0

Public Types | Public Member Functions | Public Attributes | List of all members
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>`

## Public Types

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

## Public Member Functions

| GetMatchingItems (std::vector< Entry > &records)
| GetMatchingItems ()
const String & | getKey (const FASTAFile::FASTAEntry &entry) const
bool | exists (const HitType &hit) const
const String & | getHitKey (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 FastaEntries 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

Referenced by IDFilter::DigestionFilter::operator()().

## ◆ 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

Referenced by IDFilter::DigestionFilter::operator()().

## Member Data Documentation

## ◆ items

ItemMap items