OpenMS
Loading...
Searching...
No Matches
HPLC Class Reference

Representation of a HPLC experiment. More...

#include <OpenMS/METADATA/HPLC.h>

Collaboration diagram for HPLC:
[legend]

Public Member Functions

 HPLC ()
 Constructor.
 
 HPLC (const HPLC &)=default
 Copy constructor.
 
 HPLC (HPLC &&)=default
 Move constructor.
 
 ~HPLC ()
 Destructor.
 
HPLCoperator= (const HPLC &)=default
 Assignment operator.
 
HPLCoperator= (HPLC &&) &=default
 Move assignment operator.
 
bool operator== (const HPLC &source) const
 Equality operator.
 
bool operator!= (const HPLC &source) const
 Equality operator.
 
const std::string & getInstrument () const
 returns a const reference to the instrument name
 
void setInstrument (const std::string &instrument)
 sets the instrument name
 
const std::string & getColumn () const
 returns a const reference to the column description
 
void setColumn (const std::string &column)
 sets the column description
 
Int getTemperature () const
 returns the temperature (in degree C)
 
void setTemperature (Int temperature)
 sets the temperature (in degree C)
 
UInt getPressure () const
 returns the pressure (in bar)
 
void setPressure (UInt pressure)
 sets the pressure (in bar)
 
UInt getFlux () const
 returns the flux (in microliter/sec)
 
void setFlux (UInt flux)
 sets the flux (in microliter/sec)
 
std::string getComment () const
 returns the comments
 
void setComment (std::string comment)
 sets the comments
 
const GradientgetGradient () const
 returns a const reference to the used gradient
 
GradientgetGradient ()
 returns a mutable reference to the used gradient
 
void setGradient (const Gradient &gradient)
 sets the used gradient
 

Protected Attributes

std::string instrument_
 
std::string column_
 
Int temperature_
 
Int pressure_
 
Int flux_
 
std::string comment_
 
Gradient gradient_
 

Detailed Description

Representation of a HPLC experiment.

It contains the description of instrument, the settings and the gradient.

Constructor & Destructor Documentation

◆ HPLC() [1/3]

HPLC ( )

Constructor.

◆ HPLC() [2/3]

HPLC ( const HPLC )
default

Copy constructor.

◆ HPLC() [3/3]

HPLC ( HPLC &&  )
default

Move constructor.

◆ ~HPLC()

~HPLC ( )

Destructor.

Member Function Documentation

◆ getColumn()

const std::string & getColumn ( ) const

returns a const reference to the column description

◆ getComment()

std::string getComment ( ) const

returns the comments

◆ getFlux()

UInt getFlux ( ) const

returns the flux (in microliter/sec)

◆ getGradient() [1/2]

Gradient & getGradient ( )

returns a mutable reference to the used gradient

◆ getGradient() [2/2]

const Gradient & getGradient ( ) const

returns a const reference to the used gradient

◆ getInstrument()

const std::string & getInstrument ( ) const

returns a const reference to the instrument name

◆ getPressure()

UInt getPressure ( ) const

returns the pressure (in bar)

◆ getTemperature()

Int getTemperature ( ) const

returns the temperature (in degree C)

◆ operator!=()

bool operator!= ( const HPLC source) const

Equality operator.

◆ operator=() [1/2]

HPLC & operator= ( const HPLC )
default

Assignment operator.

◆ operator=() [2/2]

HPLC & operator= ( HPLC &&  ) &
default

Move assignment operator.

◆ operator==()

bool operator== ( const HPLC source) const

Equality operator.

◆ setColumn()

void setColumn ( const std::string &  column)

sets the column description

◆ setComment()

void setComment ( std::string  comment)

sets the comments

◆ setFlux()

void setFlux ( UInt  flux)

sets the flux (in microliter/sec)

◆ setGradient()

void setGradient ( const Gradient gradient)

sets the used gradient

◆ setInstrument()

void setInstrument ( const std::string &  instrument)

sets the instrument name

◆ setPressure()

void setPressure ( UInt  pressure)

sets the pressure (in bar)

◆ setTemperature()

void setTemperature ( Int  temperature)

sets the temperature (in degree C)

Member Data Documentation

◆ column_

std::string column_
protected

◆ comment_

std::string comment_
protected

◆ flux_

Int flux_
protected

◆ gradient_

Gradient gradient_
protected

◆ instrument_

std::string instrument_
protected

◆ pressure_

Int pressure_
protected

◆ temperature_

Int temperature_
protected