OpenMS
Loading...
Searching...
No Matches
BaseGroupFinder.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- 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
18namespace OpenMS
19{
20
35 class OPENMS_DLLAPI BaseGroupFinder :
37 public ProgressLogger
38 {
39public:
42
44 ~BaseGroupFinder() override;
45
51 virtual void run(const std::vector<ConsensusMap> & input, ConsensusMap & result) = 0;
52
53
54
55protected:
56
62 void checkIds_(const std::vector<ConsensusMap> & maps) const;
63
64private:
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.
BaseGroupFinder & operator=(const BaseGroupFinder &)
Assignment operator intentionally not implemented.
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.
A container for consensus elements.
Definition ConsensusMap.h:68
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