OpenMS
Loading...
Searching...
No Matches
ProcessingStep.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: Hendrik Weisser $
6// $Authors: Hendrik Weisser $
7// --------------------------------------------------------------------------
8
9#pragma once
10
14
15namespace OpenMS
16{
17 namespace IdentificationDataInternal
18 {
21 struct OPENMS_DLLAPI ProcessingStep: public MetaInfoInterface
22 {
24
25 std::vector<InputFileRef> input_file_refs;
26
28
29 // @TODO: add processing actions that are relevant for ID data
30 std::set<DataProcessing::ProcessingAction> actions;
31
33 ProcessingSoftwareRef software_ref,
34 const std::vector<InputFileRef>& input_file_refs = std::vector<InputFileRef>(),
35 const DateTime& date_time = DateTime::now(),
36 const std::set<DataProcessing::ProcessingAction>& actions = std::set<DataProcessing::ProcessingAction>())
37 :
38 software_ref(software_ref), input_file_refs(input_file_refs),
39 date_time(date_time), actions(actions)
40 {
41 }
42
43 ProcessingStep(const ProcessingStep& other) = default;
44
46 bool operator<(const ProcessingStep& other) const;
47
49 bool operator==(const ProcessingStep& other) const;
50 };
51
52 typedef std::set<ProcessingStep> ProcessingSteps;
54
55 }
56}
DateTime Class.
Definition DateTime.h:31
Interface for classes that can store arbitrary meta information (Type-Name-Value tuples).
Definition MetaInfoInterface.h:35
std::set< ProcessingStep > ProcessingSteps
Definition ProcessingStep.h:52
IteratorWrapper< ProcessingSteps::iterator > ProcessingStepRef
Definition ProcessingStep.h:53
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Data processing step that is applied to the data (e.g. database search, PEP calculation,...
Definition ProcessingStep.h:22
ProcessingStep(ProcessingSoftwareRef software_ref, const std::vector< InputFileRef > &input_file_refs=std::vector< InputFileRef >(), const DateTime &date_time=DateTime::now(), const std::set< DataProcessing::ProcessingAction > &actions=std::set< DataProcessing::ProcessingAction >())
Definition ProcessingStep.h:32
std::vector< InputFileRef > input_file_refs
Definition ProcessingStep.h:25
std::set< DataProcessing::ProcessingAction > actions
Definition ProcessingStep.h:30
ProcessingSoftwareRef software_ref
Definition ProcessingStep.h:23
bool operator==(const ProcessingStep &other) const
don't compare meta data (?)
DateTime date_time
Definition ProcessingStep.h:27
bool operator<(const ProcessingStep &other) const
order by date/time first, don't compare meta data (?)
ProcessingStep(const ProcessingStep &other)=default