OpenMS
|
Description of an ion source (part of a MS Instrument) More...
#include <OpenMS/METADATA/IonSource.h>
Public Types | |
enum | InletType { INLETNULL , DIRECT , BATCH , CHROMATOGRAPHY , PARTICLEBEAM , MEMBRANESEPARATOR , OPENSPLIT , JETSEPARATOR , SEPTUM , RESERVOIR , MOVINGBELT , MOVINGWIRE , FLOWINJECTIONANALYSIS , ELECTROSPRAYINLET , THERMOSPRAYINLET , INFUSION , CONTINUOUSFLOWFASTATOMBOMBARDMENT , INDUCTIVELYCOUPLEDPLASMA , MEMBRANE , NANOSPRAY , SIZE_OF_INLETTYPE } |
inlet type More... | |
enum | IonizationMethod { IONMETHODNULL , ESI , EI , CI , FAB , TSP , LD , FD , FI , PD , SI , TI , API , ISI , CID , CAD , HN , APCI , APPI , ICP , NESI , MESI , SELDI , SEND , FIB , MALDI , MPI , DI , FA , FII , GD_MS , NICI , NRMS , PI , PYMS , REMPI , AI , ASI , AD , AUI , CEI , CHEMI , DISSI , LSI , PEI , SOI , SPI , SUI , VI , AP_MALDI , SILI , SALDI , SIZE_OF_IONIZATIONMETHOD } |
ionization method More... | |
enum | Polarity { POLNULL , POSITIVE , NEGATIVE , SIZE_OF_POLARITY } |
Polarity of the ion source. More... | |
Public Member Functions | |
IonSource () | |
Constructor. More... | |
IonSource (const IonSource &)=default | |
Copy constructor. More... | |
IonSource (IonSource &&)=default | |
Move constructor. More... | |
~IonSource () | |
Destructor. More... | |
IonSource & | operator= (const IonSource &)=default |
Assignment operator. More... | |
IonSource & | operator= (IonSource &&) &=default |
Move assignment operator. More... | |
bool | operator== (const IonSource &rhs) const |
Equality operator. More... | |
bool | operator!= (const IonSource &rhs) const |
Equality operator. More... | |
InletType | getInletType () const |
returns the inlet type More... | |
void | setInletType (InletType inlet_type) |
sets the inlet type More... | |
IonizationMethod | getIonizationMethod () const |
returns the ionization method More... | |
void | setIonizationMethod (IonizationMethod ionization_type) |
sets the ionization method More... | |
Polarity | getPolarity () const |
returns the ionization mode More... | |
void | setPolarity (Polarity polarity) |
sets the ionization mode More... | |
Int | getOrder () const |
returns the position of this part in the whole Instrument. More... | |
void | setOrder (Int order) |
sets the order More... | |
Public Member Functions inherited from MetaInfoInterface | |
MetaInfoInterface () | |
Constructor. More... | |
MetaInfoInterface (const MetaInfoInterface &rhs) | |
Copy constructor. More... | |
MetaInfoInterface (MetaInfoInterface &&) noexcept | |
Move constructor. More... | |
~MetaInfoInterface () | |
Destructor. More... | |
MetaInfoInterface & | operator= (const MetaInfoInterface &rhs) |
Assignment operator. More... | |
MetaInfoInterface & | operator= (MetaInfoInterface &&) noexcept |
Move assignment operator. More... | |
void | swap (MetaInfoInterface &rhs) |
Swap contents. More... | |
bool | operator== (const MetaInfoInterface &rhs) const |
Equality operator. More... | |
bool | operator!= (const MetaInfoInterface &rhs) const |
Equality operator. More... | |
const DataValue & | getMetaValue (const String &name) const |
Returns the value corresponding to a string, or DataValue::EMPTY if not found. More... | |
DataValue | getMetaValue (const String &name, const DataValue &default_value) const |
Returns the value corresponding to a string, or a default value (e.g.: DataValue::EMPTY) if not found More... | |
const DataValue & | getMetaValue (UInt index) const |
Returns the value corresponding to the index, or DataValue::EMPTY if not found. More... | |
DataValue | getMetaValue (UInt index, const DataValue &default_value) const |
Returns the value corresponding to the index, or a default value (e.g.: DataValue::EMPTY) if not found More... | |
bool | metaValueExists (const String &name) const |
Returns whether an entry with the given name exists. More... | |
bool | metaValueExists (UInt index) const |
Returns whether an entry with the given index exists. More... | |
void | setMetaValue (const String &name, const DataValue &value) |
Sets the DataValue corresponding to a name. More... | |
void | setMetaValue (UInt index, const DataValue &value) |
Sets the DataValue corresponding to an index. More... | |
void | removeMetaValue (const String &name) |
Removes the DataValue corresponding to name if it exists. More... | |
void | removeMetaValue (UInt index) |
Removes the DataValue corresponding to index if it exists. More... | |
void | addMetaValues (const MetaInfoInterface &from) |
function to copy all meta values from one object to this one More... | |
void | getKeys (std::vector< String > &keys) const |
Fills the given vector with a list of all keys for which a value is set. More... | |
void | getKeys (std::vector< UInt > &keys) const |
Fills the given vector with a list of all keys for which a value is set. More... | |
bool | isMetaEmpty () const |
Returns if the MetaInfo is empty. More... | |
void | clearMetaInfo () |
Removes all meta values. More... | |
Static Public Attributes | |
static const std::string | NamesOfInletType [SIZE_OF_INLETTYPE] |
Names of inlet types. More... | |
static const std::string | NamesOfIonizationMethod [SIZE_OF_IONIZATIONMETHOD] |
Names of ionization methods. More... | |
static const std::string | NamesOfPolarity [SIZE_OF_POLARITY] |
Names of polarity of the ion source. More... | |
Protected Attributes | |
InletType | inlet_type_ |
IonizationMethod | ionization_method_ |
Polarity | polarity_ |
Int | order_ |
Protected Attributes inherited from MetaInfoInterface | |
MetaInfo * | meta_ |
Pointer to the MetaInfo object (0 by default) More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from MetaInfoInterface | |
static MetaInfoRegistry & | metaRegistry () |
Returns a reference to the MetaInfoRegistry. More... | |
Protected Member Functions inherited from MetaInfoInterface | |
void | createIfNotExists_ () |
Creates the MetaInfo object if it does not exist. More... | |
Description of an ion source (part of a MS Instrument)
enum InletType |
inlet type
enum IonizationMethod |
ionization method
enum Polarity |
IonSource | ( | ) |
Constructor.
~IonSource | ( | ) |
Destructor.
InletType getInletType | ( | ) | const |
returns the inlet type
IonizationMethod getIonizationMethod | ( | ) | const |
returns the ionization method
Int getOrder | ( | ) | const |
returns the position of this part in the whole Instrument.
Order can be ignored, as long the instrument has this default setup:
For more complex instruments, the order should be defined.
Polarity getPolarity | ( | ) | const |
returns the ionization mode
bool operator!= | ( | const IonSource & | rhs | ) | const |
Equality operator.
bool operator== | ( | const IonSource & | rhs | ) | const |
Equality operator.
void setInletType | ( | InletType | inlet_type | ) |
sets the inlet type
void setIonizationMethod | ( | IonizationMethod | ionization_type | ) |
sets the ionization method
void setOrder | ( | Int | order | ) |
sets the order
void setPolarity | ( | Polarity | polarity | ) |
sets the ionization mode
|
protected |
|
protected |
|
static |
Names of inlet types.
|
static |
Names of ionization methods.
|
static |
Names of polarity of the ion source.
|
protected |
|
protected |