OpenMS
BaseGroupFinder.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: Clemens Groepl, Marc Sturm $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
14 
15 #include <utility>
16 #include <fstream>
17 
18 namespace OpenMS
19 {
20 
35  class OPENMS_DLLAPI BaseGroupFinder :
36  public DefaultParamHandler,
37  public ProgressLogger
38  {
39 public:
42 
44  ~BaseGroupFinder() override;
45 
51  virtual void run(const std::vector<ConsensusMap> & input, ConsensusMap & result) = 0;
52 
53 
54 
55 protected:
56 
62  void checkIds_(const std::vector<ConsensusMap> & maps) const;
63 
64 private:
65 
68 
71 
72  };
73 
74 } // namespace OpenMS
75 
The base class of all element group finding algorithms.
Definition: BaseGroupFinder.h:38
BaseGroupFinder()
Default constructor.
void checkIds_(const std::vector< ConsensusMap > &maps) const
Checks if all file descriptions have disjoint map identifiers.
BaseGroupFinder(const BaseGroupFinder &)
Copy constructor intentionally not implemented.
virtual void run(const std::vector< ConsensusMap > &input, ConsensusMap &result)=0
Run the algorithm.
~BaseGroupFinder() override
Destructor.
BaseGroupFinder & operator=(const BaseGroupFinder &)
Assignment operator intentionally not implemented.
A container for consensus elements.
Definition: ConsensusMap.h:66
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:27
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19