OpenMS
PeakMarker.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Timo Sachsenberg $
6 // $Authors: $
7 // --------------------------------------------------------------------------
8 //
9 #pragma once
10 
11 #include <map>
12 
14 
15 namespace OpenMS
16 {
21  class OPENMS_DLLAPI PeakMarker :
22  public DefaultParamHandler
23  {
24 public:
25 
28 
30  PeakMarker(const PeakMarker & source);
31 
33  ~PeakMarker() override;
34 
36  PeakMarker & operator=(const PeakMarker & source);
37 
39  template <typename SpectrumType>
40  void apply(std::map<double, bool> & /* marked */, SpectrumType & /* spectrum */) {}
41 
42  };
43 
44 }
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
PeakMarker marks peaks that seem to fulfill some criterion.
Definition: PeakMarker.h:23
~PeakMarker() override
destructor
PeakMarker(const PeakMarker &source)
copy constructor
void apply(std::map< double, bool > &, SpectrumType &)
method to mark peaks
Definition: PeakMarker.h:40
PeakMarker & operator=(const PeakMarker &source)
assignment operator
PeakMarker()
default constructor
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19