OpenMS
ScanWindow.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 {
20  struct OPENMS_DLLAPI ScanWindow :
21  public MetaInfoInterface
22  {
24  ScanWindow() = default;
26  ScanWindow(const ScanWindow &) = default;
28  ScanWindow(ScanWindow&&) = default;
31 
33  bool operator==(const ScanWindow & source) const;
35  bool operator!=(const ScanWindow & source) const;
36 
38  ScanWindow & operator=(const ScanWindow &) = default;
40  ScanWindow& operator=(ScanWindow&&) & = default;
41 
43  double begin = 0.0;
45  double end = 0.0;
46  };
47 
48 } // namespace OpenMS
49 
Interface for classes that can store arbitrary meta information (Type-Name-Value tuples).
Definition: MetaInfoInterface.h:35
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Scan window description.
Definition: ScanWindow.h:22
ScanWindow & operator=(ScanWindow &&) &=default
Move assignment operator.
~ScanWindow()
Destructor.
Definition: ScanWindow.h:30
bool operator!=(const ScanWindow &source) const
Equality operator.
ScanWindow(ScanWindow &&)=default
Move constructor.
ScanWindow & operator=(const ScanWindow &)=default
Assignment operator.
ScanWindow()=default
Default constructor.
ScanWindow(const ScanWindow &)=default
Copy constructor.
bool operator==(const ScanWindow &source) const
Equality operator.