Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

Instrument Class Reference
[Metadata]

#include <OpenMS/METADATA/Instrument.h>

Inheritance diagram for Instrument:

MetaInfoInterface

List of all members.


Detailed Description

Description of a MS instrument.

It contains information like vendor, model, ion source, mass analyzer(s), and ion detector.

Public Member Functions

 Instrument ()
 Constructor.
 Instrument (const Instrument &source)
 Copy constructor.
 ~Instrument ()
 Destructor.
Instrumentoperator= (const Instrument &source)
 Assignement operator.
bool operator== (const Instrument &rhs) const
 Equality operator.
bool operator!= (const Instrument &rhs) const
 Equality operator.
const StringgetName () const
 returns the name of the instrument
void setName (const String &name)
 sets the name of the instrument
const StringgetVendor () const
 returns the instrument vendor
void setVendor (const String &vendor)
 sets the instrument vendor
const StringgetModel () const
 returns the instrument model
void setModel (const String &model)
 sets the instrument model
const StringgetCustomizations () const
 returns a description of constumizations
void setCustomizations (const String &customizations)
 sets the a description of constumizations
const IonSourcegetIonSource () const
 returns a const reference to the ion source
IonSourcegetIonSource ()
 returns a mutable reference to the ion source
void setIonSource (const IonSource &ion_source)
 sets the ion source
const std::vector< MassAnalyzer > & getMassAnalyzers () const
 returns a const reference to the mass analyer list
std::vector< MassAnalyzer > & getMassAnalyzers ()
 returns a mutable reference to the mass analyzer list
void setMassAnalyzers (const std::vector< MassAnalyzer > &mass_analyzers)
 sets the mass analyzer list
const IonDetectorgetIonDetector () const
 returns a const reference to the ion detector
IonDetectorgetIonDetector ()
 returns a mutable reference to the ion detector
void setIonDetector (const IonDetector &ion_detector)
 sets the ion detector

Protected Attributes

String name_
String vendor_
String model_
String customizations_
IonSource ion_source_
std::vector< MassAnalyzermass_analyzers_
IonDetector ion_detector_


Constructor & Destructor Documentation

Instrument (  ) 

Constructor.

Instrument ( const Instrument source  ) 

Copy constructor.

~Instrument (  ) 

Destructor.


Member Function Documentation

Instrument& operator= ( const Instrument source  ) 

Assignement operator.

bool operator== ( const Instrument rhs  )  const

Equality operator.

bool operator!= ( const Instrument rhs  )  const

Equality operator.

const String& getName (  )  const

returns the name of the instrument

void setName ( const String name  ) 

sets the name of the instrument

const String& getVendor (  )  const

returns the instrument vendor

void setVendor ( const String vendor  ) 

sets the instrument vendor

const String& getModel (  )  const

returns the instrument model

void setModel ( const String model  ) 

sets the instrument model

const String& getCustomizations (  )  const

returns a description of constumizations

void setCustomizations ( const String customizations  ) 

sets the a description of constumizations

const IonSource& getIonSource (  )  const

returns a const reference to the ion source

IonSource& getIonSource (  ) 

returns a mutable reference to the ion source

void setIonSource ( const IonSource ion_source  ) 

sets the ion source

const std::vector<MassAnalyzer>& getMassAnalyzers (  )  const

returns a const reference to the mass analyer list

std::vector<MassAnalyzer>& getMassAnalyzers (  ) 

returns a mutable reference to the mass analyzer list

void setMassAnalyzers ( const std::vector< MassAnalyzer > &  mass_analyzers  ) 

sets the mass analyzer list

const IonDetector& getIonDetector (  )  const

returns a const reference to the ion detector

IonDetector& getIonDetector (  ) 

returns a mutable reference to the ion detector

void setIonDetector ( const IonDetector ion_detector  ) 

sets the ion detector


Member Data Documentation

String name_ [protected]

String vendor_ [protected]

String model_ [protected]

String customizations_ [protected]

IonSource ion_source_ [protected]

std::vector<MassAnalyzer> mass_analyzers_ [protected]

IonDetector ion_detector_ [protected]


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:46 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1