37 #include <OpenMS/config.h>
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:93
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
Definition: MSPGenericFile.h:145
MSPGenericFile msp_
Definition: MSPGenericFile.h:158
MSPGenericFile_friend()=default
void addSpectrumToLibrary(MSSpectrum &spectrum, MSExperiment &library)
Definition: MSPGenericFile.h:150
~MSPGenericFile_friend()=default
Load MSP text file and save it into an `MSExperiment`.
Definition: MSPGenericFile.h:69
MSPGenericFile(const String &filename, MSExperiment &library)
Constructor with filename and output library.
~MSPGenericFile()=default
Destructor.
String synonyms_separator_
The separator to be used in "Synon" metaValue.
Definition: MSPGenericFile.h:141
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`.
std::vector< String > synonyms_
Definition: MSPGenericFile.h:138
void updateMembers_()
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:130
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
Management and storage of parameters / INI files.
Definition: Param.h:70
A more convenient string class.
Definition: String.h:61
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47