11 #include <OpenMS/config.h>
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:66
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
Definition: MSPGenericFile.h:119
MSPGenericFile msp_
Definition: MSPGenericFile.h:132
MSPGenericFile_friend()=default
void addSpectrumToLibrary(MSSpectrum &spectrum, MSExperiment &library)
Definition: MSPGenericFile.h:124
~MSPGenericFile_friend()=default
Load MSP text file and save it into an `MSExperiment`.
Definition: MSPGenericFile.h:43
MSPGenericFile(const String &filename, MSExperiment &library)
Constructor with filename and output library.
String synonyms_separator_
The separator to be used in "Synon" metaValue.
Definition: MSPGenericFile.h:115
void addSpectrumToLibrary(MSSpectrum &spectrum, MSExperiment &library)
void load(const String &filename, MSExperiment &library)
Load the file's data and metadata, and save it into an `MSExperiment`.
~MSPGenericFile() override=default
Destructor.
std::vector< String > synonyms_
Definition: MSPGenericFile.h:112
void updateMembers_() override
Overrides `DefaultParamHandler`'s method.
void getDefaultParameters(Param ¶ms)
Get the class' default parameters.
void store(const String &filename, const MSExperiment &library) const
Save data and metadata into a file.
MSPGenericFile()
Default constructor.
std::set< String > loaded_spectra_names_
To keep track of which spectra have already been loaded and avoid duplicates.
Definition: MSPGenericFile.h:104
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
Management and storage of parameters / INI files.
Definition: Param.h:44
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22