OpenMS
PeakMarker.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, 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 
43  static const String getProductName()
44  {
45  return "PeakMarker";
46  }
47 
48  };
49 
50 }
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
static const String getProductName()
Definition: PeakMarker.h:43
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22