11 #include <OpenMS/config.h>
22 template <
class MapType>
30 for (
auto& feat :
static_cast<MapType&
>(*
this))
34 if (include_unassigned)
44 for (
auto& feat :
static_cast<MapType&
>(*
this))
48 if (include_unassigned)
58 for (
const auto& feat :
static_cast<MapType const&
>(*
this))
62 if (include_unassigned)
72 for (
const auto& feat :
static_cast<MapType const&
>(*
this))
76 if (include_unassigned)
86 for (
auto&
id : idvec)
95 for (
auto&
id : idvec)
97 for (
auto& hit :
id.getHits())
107 for (
const auto&
id : idvec)
116 for (
const auto&
id : idvec)
118 for (
const auto& hit :
id.getHits())
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
Utilities for Feature and ConsensusMap.
Definition: MapUtilities.h:24
void applyFunctionOnPeptideIDs(T &&f, bool include_unassigned=true) const
applies a const function on all PeptideIDs or only assigned ones
Definition: MapUtilities.h:70
void applyFunctionOnPeptideHits_(const std::vector< PeptideIdentification > &idvec, T &&f) const
Definition: MapUtilities.h:114
void applyFunctionOnPeptideIDs_(const std::vector< PeptideIdentification > &idvec, T &&f) const
Definition: MapUtilities.h:105
void applyFunctionOnPeptideHits(T &&f, bool include_unassigned=true)
applies a function on all PeptideHits or only assigned ones
Definition: MapUtilities.h:28
void applyFunctionOnPeptideIDs(T &&f, bool include_unassigned=true)
applies a function on all PeptideIDs or only assigned ones
Definition: MapUtilities.h:42
void applyFunctionOnPeptideIDs_(std::vector< PeptideIdentification > &idvec, T &&f)
Definition: MapUtilities.h:84
void applyFunctionOnPeptideHits_(std::vector< PeptideIdentification > &idvec, T &&f)
Definition: MapUtilities.h:93
void applyFunctionOnPeptideHits(T &&f, bool include_unassigned=true) const
applies a const function on all PeptideHits or only assigned ones
Definition: MapUtilities.h:56
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19