OpenMS
HPLC.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 
11 #include <OpenMS/CONCEPT/Types.h>
14 
15 namespace OpenMS
16 {
24  class OPENMS_DLLAPI HPLC
25  {
26 public:
28  HPLC();
30  HPLC(const HPLC &) = default;
32  HPLC(HPLC&&) = default;
34  ~HPLC();
35 
37  HPLC & operator=(const HPLC &) = default;
39  HPLC& operator=(HPLC&&) & = default;
40 
42  bool operator==(const HPLC & source) const;
44  bool operator!=(const HPLC & source) const;
45 
47  const String & getInstrument() const;
49  void setInstrument(const String & instrument);
50 
52  const String & getColumn() const;
54  void setColumn(const String & column);
55 
59  void setTemperature(Int temperature);
60 
62  UInt getPressure() const;
64  void setPressure(UInt pressure);
65 
67  UInt getFlux() const;
69  void setFlux(UInt flux);
70 
72  String getComment() const;
74  void setComment(String comment);
75 
77  const Gradient & getGradient() const;
81  void setGradient(const Gradient & gradient);
82 
83 protected:
91  };
92 
93 } // namespace OpenMS
94 
Representation of a HPLC gradient.
Definition: Gradient.h:27
Representation of a HPLC experiment.
Definition: HPLC.h:25
String comment_
Definition: HPLC.h:89
HPLC(HPLC &&)=default
Move constructor.
String instrument_
Definition: HPLC.h:84
~HPLC()
Destructor.
Int temperature_
Definition: HPLC.h:86
Int getTemperature() const
returns the temperature (in degree C)
UInt getPressure() const
returns the pressure (in bar)
HPLC(const HPLC &)=default
Copy constructor.
bool operator!=(const HPLC &source) const
Equality operator.
const String & getInstrument() const
returns a const reference to the instrument name
HPLC & operator=(const HPLC &)=default
Assignment operator.
const Gradient & getGradient() const
returns a const reference to the used gradient
UInt getFlux() const
returns the flux (in microliter/sec)
HPLC()
Constructor.
HPLC & operator=(HPLC &&) &=default
Move assignment operator.
void setTemperature(Int temperature)
sets the temperature (in degree C)
String column_
Definition: HPLC.h:85
void setGradient(const Gradient &gradient)
sets the used gradient
Gradient gradient_
Definition: HPLC.h:90
String getComment() const
returns the comments
void setFlux(UInt flux)
sets the flux (in microliter/sec)
void setPressure(UInt pressure)
sets the pressure (in bar)
void setComment(String comment)
sets the comments
Int flux_
Definition: HPLC.h:88
Int pressure_
Definition: HPLC.h:87
void setColumn(const String &column)
sets the column description
const String & getColumn() const
returns a const reference to the column description
Gradient & getGradient()
returns a mutable reference to the used gradient
bool operator==(const HPLC &source) const
Equality operator.
void setInstrument(const String &instrument)
sets the instrument name
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:72
unsigned int UInt
Unsigned integer type.
Definition: Types.h:64
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19