58 storage_formats_(supported_storage_formats)
68 return storage_formats_;
A container for consensus elements.
Definition: ConsensusMap.h:92
DataFilter array providing some convenience functions.
Definition: DataFilters.h:53
A container for features.
Definition: FeatureMap.h:106
holds a vector of known file types, e.g. as a way to specify supported input formats
Definition: FileTypes.h:150
std::vector< PeptideIdentification > PepIds
Definition: IPeptideIds.h:51
Visitor which can save a full ConsensusMap; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:208
LayerStoreDataConsensusMapAll()
Definition: LayerStoreData.h:210
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
void storeFullCM(const ConsensusMap &cm)
Visitor which can save a visible piece of data; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:187
ConsensusMap cm_
the filtered data; used when saveToFile() is called
Definition: LayerStoreData.h:199
void storeVisibleCM(const ConsensusMap &cm, const RangeAllType &visible_range, const DataFilters &layer_filters)
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
LayerStoreDataConsensusMapVisible()
Definition: LayerStoreData.h:189
Visitor which can save a full FeatureMap; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:168
void storeFullFM(const FeatureMap &fm)
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
LayerStoreDataFeatureMapAll()
Definition: LayerStoreData.h:170
Visitor which can save a visible piece of data; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:147
void storeVisibleFM(const FeatureMap &fm, const RangeAllType &visible_range, const DataFilters &layer_filters)
LayerStoreDataFeatureMapVisible()
Definition: LayerStoreData.h:149
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
FeatureMap fm_
the filtered data; used when saveToFile() is called
Definition: LayerStoreData.h:159
Visitor which can save a full set of Identifications; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:250
void storeFullIdent(const IPeptideIds::PepIds &ids)
LayerStoreDataIdentAll()
Definition: LayerStoreData.h:252
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
Visitor which can save a visible piece of data; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:229
void storeVisibleIdent(const IPeptideIds::PepIds &ids, const RangeAllType &visible_range, const DataFilters &layer_filters)
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
LayerStoreDataIdentVisible()
Definition: LayerStoreData.h:231
IPeptideIds::PepIds ids_
the filtered data; used when saveToFile() is called
Definition: LayerStoreData.h:241
Visitor which can save a full experiment; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:128
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
void storeFullExperiment(const PeakMap &exp)
LayerStoreDataPeakMapAll()
Definition: LayerStoreData.h:130
Visitor which can save a visible piece of data; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:91
LayerStoreDataPeakMapVisible()
Definition: LayerStoreData.h:93
void storeVisibleSpectrum(const MSSpectrum &spec, const RangeAllType &visible_range, const DataFilters &layer_filters)
Stores data from a 1D canvas and remembers the data internally.
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
PeakMap pm_
the filtered data; used when saveToFile() is called
Definition: LayerStoreData.h:119
void storeVisibleChromatogram(const MSChromatogram &chrom, const RangeAllType &visible_range, const DataFilters &layer_filters)
Stores data from a 1D canvas and remembers the data internally.
void storeVisibleExperiment(const PeakMap &exp, const RangeAllType &visible_range, const DataFilters &layer_filters)
analog to storeVisibleSpectrum()
Base class to store either the currently visible or all data of a canvas.
Definition: LayerStoreData.h:55
virtual ~LayerStoreData()=default
virtual D'tor for proper cleanup of derived classes' members
FileTypeList storage_formats_
file formats which can hold the data from the layer; The first item should be the preferred/default f...
Definition: LayerStoreData.h:83
virtual void saveToFile(const String &filename, const ProgressLogger::LogType lt) const =0
FileTypeList getSupportedFileFormats() const
Which formats are supported when writing the file?
Definition: LayerStoreData.h:66
LayerStoreData(FileTypeList supported_storage_formats)
Definition: LayerStoreData.h:57
FileTypes::Type getSupportedExtension_(const String &filename) const
extracts the supported extension (converting UNKNOWN to first item in storage_formats_) or throws an ...
The representation of a chromatogram.
Definition: MSChromatogram.h:57
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:72
The representation of a 1D spectrum.
Definition: MSSpectrum.h:70
LogType
Possible log types.
Definition: ProgressLogger.h:69
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
Type
Actual file types enum.
Definition: FileTypes.h:57
@ CONSENSUSXML
OpenMS consensus map format (.consensusXML)
Definition: FileTypes.h:65
@ FEATUREXML
OpenMS feature file (.featureXML)
Definition: FileTypes.h:63
@ IDXML
OpenMS identification format (.idXML)
Definition: FileTypes.h:64
@ MZML
MzML file (.mzML)
Definition: FileTypes.h:70
@ MZDATA
MzData file (.mzData)
Definition: FileTypes.h:61
@ MZXML
MzXML file (.mzXML)
Definition: FileTypes.h:62