32 storage_formats_(supported_storage_formats)
42 return storage_formats_;
A container for consensus elements.
Definition: ConsensusMap.h:66
DataFilter array providing some convenience functions.
Definition: DataFilters.h:27
A container for features.
Definition: FeatureMap.h:80
holds a vector of known file types, e.g. as a way to specify supported input formats
Definition: FileTypes.h:139
std::vector< PeptideIdentification > PepIds
Definition: IPeptideIds.h:25
Visitor which can save a full ConsensusMap; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:182
LayerStoreDataConsensusMapAll()
Definition: LayerStoreData.h:184
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:161
ConsensusMap cm_
the filtered data; used when saveToFile() is called
Definition: LayerStoreData.h:173
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:163
Visitor which can save a full FeatureMap; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:142
void storeFullFM(const FeatureMap &fm)
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
LayerStoreDataFeatureMapAll()
Definition: LayerStoreData.h:144
Visitor which can save a visible piece of data; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:121
void storeVisibleFM(const FeatureMap &fm, const RangeAllType &visible_range, const DataFilters &layer_filters)
LayerStoreDataFeatureMapVisible()
Definition: LayerStoreData.h:123
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
FeatureMap fm_
the filtered data; used when saveToFile() is called
Definition: LayerStoreData.h:133
Visitor which can save a full set of Identifications; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:224
void storeFullIdent(const IPeptideIds::PepIds &ids)
LayerStoreDataIdentAll()
Definition: LayerStoreData.h:226
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:203
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:205
IPeptideIds::PepIds ids_
the filtered data; used when saveToFile() is called
Definition: LayerStoreData.h:215
Visitor which can save a full experiment; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:102
void saveToFile(const String &filename, const ProgressLogger::LogType lt) const override
void storeFullExperiment(const PeakMap &exp)
LayerStoreDataPeakMapAll()
Definition: LayerStoreData.h:104
Visitor which can save a visible piece of data; subsequently the data can be stored to a file.
Definition: LayerStoreData.h:65
LayerStoreDataPeakMapVisible()
Definition: LayerStoreData.h:67
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:93
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:29
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:57
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:40
LayerStoreData(FileTypeList supported_storage_formats)
Definition: LayerStoreData.h:31
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:30
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:45
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
LogType
Possible log types.
Definition: ProgressLogger.h:43
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Type
Actual file types enum.
Definition: FileTypes.h:31
@ CONSENSUSXML
OpenMS consensus map format (.consensusXML)
Definition: FileTypes.h:39
@ FEATUREXML
OpenMS feature file (.featureXML)
Definition: FileTypes.h:37
@ IDXML
OpenMS identification format (.idXML)
Definition: FileTypes.h:38
@ MZML
MzML file (.mzML)
Definition: FileTypes.h:44
@ MZDATA
MzData file (.mzData)
Definition: FileTypes.h:35
@ MZXML
MzXML file (.mzXML)
Definition: FileTypes.h:36