00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef OPENMS_METADATA_IONSOURCE_H
00028 #define OPENMS_METADATA_IONSOURCE_H
00029
00030 #include <OpenMS/METADATA/MetaInfoInterface.h>
00031
00032 namespace OpenMS
00033 {
00039 class IonSource: public MetaInfoInterface
00040 {
00041 public:
00043 enum InletType{INLETNULL,DIRECT, BATCH, CHROMATOGRAPHY, PARTICLEBEAM, MEMBRANESEPARATOR, OPENSPLIT, JETSEPARATOR,SEPTUM, RESERVOIR, MOVINGBELT, MOVINGWIRE, FLOWINJECTIONANALYSIS, ELECTROSPRAYINLET,THERMOSPRAYINLET, INFUSION, CONTINUOUSFLOWFASTATOMBOMBARDMENT, INDUCTIVELYCOUPLEDPLASMA, SIZE_OF_INLETTYPE};
00045 static const std::string NamesOfInletType[SIZE_OF_INLETTYPE];
00046
00048 enum IonizationMethod{IONMETHODNULL,ESI,EI,CI,FAB,TSP,LD,FD,FI,PD,SI,TI,API,ISI,CID,CAD,HN,APCI,APPI,ICP,SIZE_OF_IONIZATIONMETHOD};
00050 static const std::string NamesOfIonizationMethod[SIZE_OF_IONIZATIONMETHOD];
00051
00053 enum Polarity{POLNULL,POSITIVE, NEGATIVE,SIZE_OF_POLARITY};
00055 static const std::string NamesOfPolarity[SIZE_OF_POLARITY];
00056
00058 IonSource();
00060 IonSource(const IonSource& source);
00062 ~IonSource();
00063
00065 IonSource& operator= (const IonSource& source);
00066
00068 bool operator== (const IonSource& rhs) const;
00070 bool operator!= (const IonSource& rhs) const;
00071
00073 InletType getInletType() const;
00075 void setInletType(InletType inlet_type);
00076
00078 IonizationMethod getIonizationMethod() const;
00080 void setIonizationMethod(IonizationMethod ionization_type);
00081
00083 Polarity getPolarity() const;
00085 void setPolarity(Polarity polarity);
00086
00087 protected:
00088 InletType inlet_type_;
00089 IonizationMethod ionization_method_;
00090 Polarity polarity_;
00091
00092 };
00093
00094 }
00095
00096 #endif // OPENMS_METADATA_IONSOURCE_H