37 #include <OpenMS/config.h>
48 template <
class MapType>
56 for (
auto& feat :
static_cast<MapType&
>(*
this))
60 if (include_unassigned)
70 for (
auto& feat :
static_cast<MapType&
>(*
this))
74 if (include_unassigned)
84 for (
const auto& feat :
static_cast<MapType const&
>(*
this))
88 if (include_unassigned)
98 for (
const auto& feat :
static_cast<MapType const&
>(*
this))
102 if (include_unassigned)
112 for (
auto&
id : idvec)
121 for (
auto&
id : idvec)
123 for (
auto& hit :
id.getHits())
133 for (
const auto&
id : idvec)
142 for (
const auto&
id : idvec)
144 for (
const auto& hit :
id.getHits())
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:73
Utilities for Feature and ConsensusMap.
Definition: MapUtilities.h:50
void applyFunctionOnPeptideIDs(T &&f, bool include_unassigned=true) const
applies a const function on all PeptideIDs or only assigned ones
Definition: MapUtilities.h:96
void applyFunctionOnPeptideHits_(const std::vector< PeptideIdentification > &idvec, T &&f) const
Definition: MapUtilities.h:140
void applyFunctionOnPeptideIDs_(const std::vector< PeptideIdentification > &idvec, T &&f) const
Definition: MapUtilities.h:131
void applyFunctionOnPeptideHits(T &&f, bool include_unassigned=true)
applies a function on all PeptideHits or only assigned ones
Definition: MapUtilities.h:54
void applyFunctionOnPeptideIDs(T &&f, bool include_unassigned=true)
applies a function on all PeptideIDs or only assigned ones
Definition: MapUtilities.h:68
void applyFunctionOnPeptideIDs_(std::vector< PeptideIdentification > &idvec, T &&f)
Definition: MapUtilities.h:110
void applyFunctionOnPeptideHits_(std::vector< PeptideIdentification > &idvec, T &&f)
Definition: MapUtilities.h:119
void applyFunctionOnPeptideHits(T &&f, bool include_unassigned=true) const
applies a const function on all PeptideHits or only assigned ones
Definition: MapUtilities.h:82
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47