00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 // -------------------------------------------------------------------------- 00005 // OpenMS Mass Spectrometry Framework 00006 // -------------------------------------------------------------------------- 00007 // Copyright (C) 2003-2008 -- Oliver Kohlbacher, Knut Reinert 00008 // 00009 // This library is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU Lesser General Public 00011 // License as published by the Free Software Foundation; either 00012 // version 2.1 of the License, or (at your option) any later version. 00013 // 00014 // This library is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 // Lesser General Public License for more details. 00018 // 00019 // You should have received a copy of the GNU Lesser General Public 00020 // License along with this library; if not, write to the Free Software 00021 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 // 00023 // -------------------------------------------------------------------------- 00024 // $Maintainer: Marc Sturm $ 00025 // -------------------------------------------------------------------------- 00026 00027 #ifndef OPENMS_METADATA_INSTRUMENT_H 00028 #define OPENMS_METADATA_INSTRUMENT_H 00029 00030 #include <OpenMS/DATASTRUCTURES/String.h> 00031 #include <OpenMS/METADATA/MetaInfoInterface.h> 00032 #include <OpenMS/METADATA/IonSource.h> 00033 #include <OpenMS/METADATA/MassAnalyzer.h> 00034 #include <OpenMS/METADATA/IonDetector.h> 00035 00036 #include <vector> 00037 00038 namespace OpenMS 00039 { 00047 class Instrument: public MetaInfoInterface 00048 { 00049 public: 00051 Instrument(); 00053 Instrument(const Instrument& source); 00055 ~Instrument(); 00056 00058 Instrument& operator= (const Instrument& source); 00059 00061 bool operator== (const Instrument& rhs) const; 00063 bool operator!= (const Instrument& rhs) const; 00064 00066 const String& getName() const; 00068 void setName(const String& name); 00069 00071 const String& getVendor() const; 00073 void setVendor(const String& vendor); 00074 00076 const String& getModel() const; 00078 void setModel(const String& model); 00079 00081 const String& getCustomizations() const; 00083 void setCustomizations(const String& customizations); 00084 00086 const IonSource& getIonSource() const; 00088 IonSource& getIonSource(); 00090 void setIonSource(const IonSource& ion_source); 00091 00093 const std::vector<MassAnalyzer>& getMassAnalyzers() const; 00095 std::vector<MassAnalyzer>& getMassAnalyzers(); 00097 void setMassAnalyzers(const std::vector<MassAnalyzer>& mass_analyzers); 00098 00100 const IonDetector& getIonDetector() const; 00102 IonDetector& getIonDetector(); 00104 void setIonDetector(const IonDetector& ion_detector); 00105 00106 protected: 00107 String name_; 00108 String vendor_; 00109 String model_; 00110 String customizations_; 00111 IonSource ion_source_; 00112 std::vector<MassAnalyzer> mass_analyzers_; 00113 IonDetector ion_detector_; 00114 }; 00115 } // namespace OpenMS 00116 00117 #endif // OPENMS_METADATA_INSTRUMENT_H
Generated Tue Apr 1 15:36:35 2008 -- using doxygen 1.5.4 | OpenMS / TOPP 1.1 |