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:49
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
std::vector< std::string > synonyms_
Definition MSPGenericFile.h:112
std::set< std::string > loaded_spectra_names_
To keep track of which spectra have already been loaded and avoid duplicates.
Definition MSPGenericFile.h:104
void store(const std::string &filename, const MSExperiment &library) const
Save data and metadata into a file.
void load(const std::string &filename, MSExperiment &library)
Load the file's data and metadata, and save it into an MSExperiment.
void addSpectrumToLibrary(MSSpectrum &spectrum, MSExperiment &library)
~MSPGenericFile() override=default
Destructor.
std::string synonyms_separator_
The separator to be used in "Synon" metaValue.
Definition MSPGenericFile.h:115
void updateMembers_() override
Overrides DefaultParamHandler's method.
void getDefaultParameters(Param ¶ms)
Get the class' default parameters.
MSPGenericFile()
Default constructor.
MSPGenericFile(const std::string &filename, MSExperiment &library)
Constructor with filename and output library.
The representation of a 1D spectrum.
Definition MSSpectrum.h:44
Management and storage of parameters / INI files.
Definition Param.h:46
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19