![]() |
OpenMS
|
Description of an ion source (part of a MS Instrument) More...
#include <OpenMS/METADATA/IonSource.h>
Public Types | |
| enum class | 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 class | 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 class | Polarity { POLNULL , POSITIVE , NEGATIVE , SIZE_OF_POLARITY } |
| Polarity of the ion source. More... | |
Public Member Functions | |
| IonSource () | |
| Constructor. | |
| IonSource (const IonSource &)=default | |
| Copy constructor. | |
| IonSource (IonSource &&)=default | |
| Move constructor. | |
| ~IonSource () | |
| Destructor. | |
| IonSource & | operator= (const IonSource &)=default |
| Assignment operator. | |
| IonSource & | operator= (IonSource &&) &=default |
| Move assignment operator. | |
| bool | operator== (const IonSource &rhs) const |
| Equality operator. | |
| bool | operator!= (const IonSource &rhs) const |
| Equality operator. | |
| InletType | getInletType () const |
| returns the inlet type | |
| void | setInletType (InletType inlet_type) |
| sets the inlet type | |
| IonizationMethod | getIonizationMethod () const |
| returns the ionization method | |
| void | setIonizationMethod (IonizationMethod ionization_type) |
| sets the ionization method | |
| Polarity | getPolarity () const |
| returns the ionization mode | |
| void | setPolarity (Polarity polarity) |
| sets the ionization mode | |
| Int | getOrder () const |
| returns the position of this part in the whole Instrument. | |
| void | setOrder (Int order) |
| sets the order | |
Public Member Functions inherited from MetaInfoInterface | |
| MetaInfoInterface ()=default | |
| Constructor. | |
| MetaInfoInterface (const MetaInfoInterface &rhs) | |
| Copy constructor. | |
| MetaInfoInterface (MetaInfoInterface &&) noexcept | |
| Move constructor. | |
| ~MetaInfoInterface () | |
| Destructor. | |
| MetaInfoInterface & | operator= (const MetaInfoInterface &rhs) |
| Assignment operator. | |
| MetaInfoInterface & | operator= (MetaInfoInterface &&) noexcept |
| Move assignment operator. | |
| void | swap (MetaInfoInterface &rhs) |
| Swap contents. | |
| bool | operator== (const MetaInfoInterface &rhs) const |
| Equality operator. | |
| bool | operator!= (const MetaInfoInterface &rhs) const |
| Equality operator. | |
| const DataValue & | getMetaValue (const String &name) const |
| Returns the value corresponding to a string, or DataValue::EMPTY if not found. | |
| 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 | |
| const DataValue & | getMetaValue (UInt index) const |
| Returns the value corresponding to the index, or DataValue::EMPTY if not found. | |
| 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 | |
| bool | metaValueExists (const String &name) const |
| Returns whether an entry with the given name exists. | |
| bool | metaValueExists (UInt index) const |
| Returns whether an entry with the given index exists. | |
| void | setMetaValue (const String &name, const DataValue &value) |
| Sets the DataValue corresponding to a name. | |
| void | setMetaValue (UInt index, const DataValue &value) |
| Sets the DataValue corresponding to an index. | |
| void | removeMetaValue (const String &name) |
Removes the DataValue corresponding to name if it exists. | |
| void | removeMetaValue (UInt index) |
Removes the DataValue corresponding to index if it exists. | |
| void | addMetaValues (const MetaInfoInterface &from) |
| void | getKeys (std::vector< String > &keys) const |
| Fills the given vector with a list of all keys for which a value is set. | |
| void | getKeys (std::vector< UInt > &keys) const |
| Fills the given vector with a list of all keys for which a value is set. | |
| bool | isMetaEmpty () const |
| Returns if the MetaInfo is empty. | |
| void | clearMetaInfo () |
| Removes all meta values. | |
Static Public Member Functions | |
| static StringList | getAllNamesOfInletType () |
| Returns all inlet type names known to OpenMS. | |
| static StringList | getAllNamesOfIonizationMethod () |
| Returns all ionization method names known to OpenMS. | |
| static StringList | getAllNamesOfPolarity () |
| Returns all polarity names known to OpenMS. | |
| static const std::string & | inletTypeToString (InletType type) |
| Convert an InletType enum to its string representation. | |
| static InletType | toInletType (const std::string &name) |
| Convert a string to an InletType enum. | |
| static const std::string & | ionizationMethodToString (IonizationMethod method) |
| Convert an IonizationMethod enum to its string representation. | |
| static IonizationMethod | toIonizationMethod (const std::string &name) |
| Convert a string to an IonizationMethod enum. | |
| static const std::string & | polarityToString (Polarity polarity) |
| Convert a Polarity enum to its string representation. | |
| static Polarity | toPolarity (const std::string &name) |
| Convert a string to a Polarity enum. | |
Static Public Member Functions inherited from MetaInfoInterface | |
| static MetaInfoRegistry & | metaRegistry () |
| Returns a reference to the MetaInfoRegistry. | |
Static Public Attributes | |
| static const std::string | NamesOfInletType [static_cast< size_t >(InletType::SIZE_OF_INLETTYPE)] |
| Names of inlet types. | |
| static const std::string | NamesOfIonizationMethod [static_cast< size_t >(IonizationMethod::SIZE_OF_IONIZATIONMETHOD)] |
| Names of ionization methods. | |
| static const std::string | NamesOfPolarity [static_cast< size_t >(Polarity::SIZE_OF_POLARITY)] |
| Names of polarity of the ion source. | |
Protected Attributes | |
| InletType | inlet_type_ |
| IonizationMethod | ionization_method_ |
| Polarity | polarity_ |
| Int | order_ |
Protected Attributes inherited from MetaInfoInterface | |
| MetaInfo * | meta_ = nullptr |
| Pointer to the MetaInfo object. | |
Additional Inherited Members | |
Protected Member Functions inherited from MetaInfoInterface | |
| void | createIfNotExists_ () |
| Creates the MetaInfo object if it does not exist. | |
Description of an ion source (part of a MS Instrument)
|
strong |
inlet type
|
strong |
ionization method
|
strong |
| IonSource | ( | ) |
Constructor.
| ~IonSource | ( | ) |
Destructor.
|
static |
Returns all inlet type names known to OpenMS.
|
static |
Returns all ionization method names known to OpenMS.
|
static |
Returns all polarity names known to OpenMS.
| 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
|
static |
Convert an InletType enum to its string representation.
| type | The inlet type enum value to convert |
| Exception::InvalidValue | if type is SIZE_OF_INLETTYPE |
|
static |
Convert an IonizationMethod enum to its string representation.
| method | The ionization method enum value to convert |
| Exception::InvalidValue | if method is SIZE_OF_IONIZATIONMETHOD |
| bool operator!= | ( | const IonSource & | rhs | ) | const |
Equality operator.
| bool operator== | ( | const IonSource & | rhs | ) | const |
Equality operator.
|
static |
Convert a Polarity enum to its string representation.
| polarity | The polarity enum value to convert |
| Exception::InvalidValue | if polarity is SIZE_OF_POLARITY |
| 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
|
static |
Convert a string to an InletType enum.
| name | The string name to convert |
| Exception::InvalidValue | if name is not found in NamesOfInletType[] |
|
static |
Convert a string to an IonizationMethod enum.
| name | The string name to convert |
| Exception::InvalidValue | if name is not found in NamesOfIonizationMethod[] |
|
static |
Convert a string to a Polarity enum.
| name | The string name to convert |
| Exception::InvalidValue | if name is not found in NamesOfPolarity[] |
|
protected |
|
protected |
|
static |
Names of inlet types.
|
static |
Names of ionization methods.
|
static |
Names of polarity of the ion source.
|
protected |
|
protected |