44 FLOWINJECTIONANALYSIS,
48 CONTINUOUSFLOWFASTATOMBOMBARDMENT,
49 INDUCTIVELYCOUPLEDPLASMA,
55 static const std::string NamesOfInletType[
static_cast<size_t>(InletType::SIZE_OF_INLETTYPE)];
112 SIZE_OF_IONIZATIONMETHOD
115 static const std::string NamesOfIonizationMethod[
static_cast<size_t>(IonizationMethod::SIZE_OF_IONIZATIONMETHOD)];
126 static const std::string NamesOfPolarity[
static_cast<size_t>(Polarity::SIZE_OF_POLARITY)];
Description of an ion source (part of a MS Instrument)
Definition IonSource.h:27
static const std::string & inletTypeToString(InletType type)
Convert an InletType enum to its string representation.
InletType
inlet type
Definition IonSource.h:31
static StringList getAllNamesOfInletType()
Returns all inlet type names known to OpenMS.
void setPolarity(Polarity polarity)
sets the ionization mode
Int getOrder() const
returns the position of this part in the whole Instrument.
void setIonizationMethod(IonizationMethod ionization_type)
sets the ionization method
void setInletType(InletType inlet_type)
sets the inlet type
IonSource(const IonSource &)=default
Copy constructor.
void setOrder(Int order)
sets the order
Polarity getPolarity() const
returns the ionization mode
IonSource & operator=(const IonSource &)=default
Assignment operator.
IonizationMethod ionization_method_
Definition IonSource.h:254
Int order_
Definition IonSource.h:256
InletType getInletType() const
returns the inlet type
static StringList getAllNamesOfIonizationMethod()
Returns all ionization method names known to OpenMS.
Polarity
Polarity of the ion source.
Definition IonSource.h:119
IonizationMethod
ionization method
Definition IonSource.h:59
static StringList getAllNamesOfPolarity()
Returns all polarity names known to OpenMS.
static Polarity toPolarity(const std::string &name)
Convert a string to a Polarity enum.
static const std::string & ionizationMethodToString(IonizationMethod method)
Convert an IonizationMethod enum to its string representation.
static const std::string & polarityToString(Polarity polarity)
Convert a Polarity enum to its string representation.
static IonizationMethod toIonizationMethod(const std::string &name)
Convert a string to an IonizationMethod enum.
IonizationMethod getIonizationMethod() const
returns the ionization method
IonSource & operator=(IonSource &&) &=default
Move assignment operator.
bool operator==(const IonSource &rhs) const
Equality operator.
Polarity polarity_
Definition IonSource.h:255
InletType inlet_type_
Definition IonSource.h:253
IonSource(IonSource &&)=default
Move constructor.
bool operator!=(const IonSource &rhs) const
Equality operator.
static InletType toInletType(const std::string &name)
Convert a string to an InletType enum.
int Int
Signed integer type.
Definition Types.h:72
std::vector< String > StringList
Vector of String.
Definition ListUtils.h:44
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
std::size_t hash_int(T value) noexcept
Hash for an integer type.
Definition HashUtils.h:107
void hash_combine(std::size_t &seed, std::size_t value) noexcept
Combine a hash value with additional data using golden ratio mixing.
Definition HashUtils.h:87
std::size_t operator()(const OpenMS::IonSource &is) const noexcept
Definition IonSource.h:268