OpenMS
Loading...
Searching...
No Matches
HPLC.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: Marc Sturm $
7// --------------------------------------------------------------------------
8
9#pragma once
10
14
15namespace OpenMS
16{
24 class OPENMS_DLLAPI HPLC
25 {
26public:
30 HPLC(const HPLC &) = default;
32 HPLC(HPLC&&) = default;
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 std::string & getInstrument() const;
49 void setInstrument(const std::string & instrument);
50
52 const std::string & getColumn() const;
54 void setColumn(const std::string & column);
55
59 void setTemperature(Int temperature);
60
64 void setPressure(UInt pressure);
65
67 UInt getFlux() const;
69 void setFlux(UInt flux);
70
72 std::string getComment() const;
74 void setComment(std::string comment);
75
77 const Gradient & getGradient() const;
81 void setGradient(const Gradient & gradient);
82
83protected:
84 std::string instrument_;
85 std::string column_;
89 std::string comment_;
91 };
92
93} // namespace OpenMS
94
Representation of a HPLC gradient.
Definition Gradient.h:27
Representation of a HPLC experiment.
Definition HPLC.h:25
HPLC(HPLC &&)=default
Move constructor.
HPLC & operator=(HPLC &&) &=default
Move assignment operator.
void setInstrument(const std::string &instrument)
sets the instrument name
std::string getComment() const
returns the comments
~HPLC()
Destructor.
Int temperature_
Definition HPLC.h:86
const Gradient & getGradient() const
returns a const reference to the used gradient
Int getTemperature() const
returns the temperature (in degree C)
const std::string & getColumn() const
returns a const reference to the column description
UInt getPressure() const
returns the pressure (in bar)
HPLC(const HPLC &)=default
Copy constructor.
std::string comment_
Definition HPLC.h:89
bool operator!=(const HPLC &source) const
Equality operator.
Gradient & getGradient()
returns a mutable reference to the used gradient
const std::string & getInstrument() const
returns a const reference to the instrument name
HPLC & operator=(const HPLC &)=default
Assignment operator.
UInt getFlux() const
returns the flux (in microliter/sec)
HPLC()
Constructor.
std::string instrument_
Definition HPLC.h:84
void setComment(std::string comment)
sets the comments
void setTemperature(Int temperature)
sets the temperature (in degree C)
void setGradient(const Gradient &gradient)
sets the used gradient
Gradient gradient_
Definition HPLC.h:90
void setFlux(UInt flux)
sets the flux (in microliter/sec)
void setPressure(UInt pressure)
sets the pressure (in bar)
void setColumn(const std::string &column)
sets the column description
Int flux_
Definition HPLC.h:88
Int pressure_
Definition HPLC.h:87
std::string column_
Definition HPLC.h:85
bool operator==(const HPLC &source) const
Equality operator.
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