OpenMS  2.7.0
Public Member Functions | Private Member Functions | List of all members
MapUtilities< MapType > Class Template Reference

Utilities for Feature and ConsensusMap. More...

#include <OpenMS/DATASTRUCTURES/Utils/MapUtilities.h>

Inheritance diagram for MapUtilities< MapType >:
[legend]

Public Member Functions

template<class T >
void applyFunctionOnPeptideHits (T &&f, bool include_unassigned=true)
 applies a function on all PeptideHits or only assigned ones More...
 
template<class T >
void applyFunctionOnPeptideIDs (T &&f, bool include_unassigned=true)
 applies a function on all PeptideIDs or only assigned ones More...
 
template<class T >
void applyFunctionOnPeptideHits (T &&f, bool include_unassigned=true) const
 applies a const function on all PeptideHits or only assigned ones More...
 
template<class T >
void applyFunctionOnPeptideIDs (T &&f, bool include_unassigned=true) const
 applies a const function on all PeptideIDs or only assigned ones More...
 

Private Member Functions

template<class T >
void applyFunctionOnPeptideIDs_ (std::vector< PeptideIdentification > &idvec, T &&f)
 
template<class T >
void applyFunctionOnPeptideHits_ (std::vector< PeptideIdentification > &idvec, T &&f)
 
template<class T >
void applyFunctionOnPeptideIDs_ (const std::vector< PeptideIdentification > &idvec, T &&f) const
 
template<class T >
void applyFunctionOnPeptideHits_ (const std::vector< PeptideIdentification > &idvec, T &&f) const
 

Detailed Description

template<class MapType>
class OpenMS::MapUtilities< MapType >

Utilities for Feature and ConsensusMap.

Member Function Documentation

◆ applyFunctionOnPeptideHits() [1/2]

void applyFunctionOnPeptideHits ( T &&  f,
bool  include_unassigned = true 
)
inline

applies a function on all PeptideHits or only assigned ones

References MapUtilities< MapType >::applyFunctionOnPeptideHits_().

◆ applyFunctionOnPeptideHits() [2/2]

void applyFunctionOnPeptideHits ( T &&  f,
bool  include_unassigned = true 
) const
inline

applies a const function on all PeptideHits or only assigned ones

References MapUtilities< MapType >::applyFunctionOnPeptideHits_().

◆ applyFunctionOnPeptideHits_() [1/2]

void applyFunctionOnPeptideHits_ ( const std::vector< PeptideIdentification > &  idvec,
T &&  f 
) const
inlineprivate

◆ applyFunctionOnPeptideHits_() [2/2]

void applyFunctionOnPeptideHits_ ( std::vector< PeptideIdentification > &  idvec,
T &&  f 
)
inlineprivate

◆ applyFunctionOnPeptideIDs() [1/2]

void applyFunctionOnPeptideIDs ( T &&  f,
bool  include_unassigned = true 
)
inline

◆ applyFunctionOnPeptideIDs() [2/2]

void applyFunctionOnPeptideIDs ( T &&  f,
bool  include_unassigned = true 
) const
inline

applies a const function on all PeptideIDs or only assigned ones

References MapUtilities< MapType >::applyFunctionOnPeptideIDs_().

◆ applyFunctionOnPeptideIDs_() [1/2]

void applyFunctionOnPeptideIDs_ ( const std::vector< PeptideIdentification > &  idvec,
T &&  f 
) const
inlineprivate

◆ applyFunctionOnPeptideIDs_() [2/2]

void applyFunctionOnPeptideIDs_ ( std::vector< PeptideIdentification > &  idvec,
T &&  f 
)
inlineprivate