OpenMS
Acquisition.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: Marc Sturm $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 namespace OpenMS
14 {
23  class OPENMS_DLLAPI Acquisition :
24  public MetaInfoInterface
25  {
26 public:
28  Acquisition() = default;
30  Acquisition(const Acquisition &) = default;
32  Acquisition(Acquisition&&) = default;
34  ~Acquisition() = default;
35 
37  Acquisition & operator=(const Acquisition &) = default;
40 
42  bool operator==(const Acquisition & rhs) const;
44  bool operator!=(const Acquisition & rhs) const;
45 
47  const String & getIdentifier() const;
49  void setIdentifier(const String & identifier);
50 
51 protected:
53 
54  };
55 } // namespace OpenMS
56 
Information about one raw data spectrum that was combined with several other raw data spectra.
Definition: Acquisition.h:25
const String & getIdentifier() const
return the identifier/index/number of the acquisition
void setIdentifier(const String &identifier)
sets the index/number of the scan
Acquisition & operator=(const Acquisition &)=default
Assignment operator.
~Acquisition()=default
Destructor.
Acquisition()=default
Constructor.
bool operator!=(const Acquisition &rhs) const
Equality operator.
Acquisition(Acquisition &&)=default
Move constructor.
bool operator==(const Acquisition &rhs) const
Equality operator.
Acquisition & operator=(Acquisition &&) &=default
Move assignment operator.
String identifier_
Definition: Acquisition.h:52
Acquisition(const Acquisition &)=default
Copy constructor.
Interface for classes that can store arbitrary meta information (Type-Name-Value tuples).
Definition: MetaInfoInterface.h:35
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19