35 #ifndef OPENMS_FORMAT_INDEXEDMZMLFILELOADER_H
36 #define OPENMS_FORMAT_INDEXEDMZMLFILELOADER_H
99 options_.setWriteIndex(
true);
122 options_.setWriteIndex(
true);
124 f.
store(filename, exp);
void store(const String &filename, MSExperiment<> &exp)
Store a file from an in-memory data-structure.
Definition: IndexedMzMLFileLoader.h:119
MSChromatogram< ChromatogramPeakT > getChromatogram(Size id)
returns a single chromatogram
Definition: OnDiscMSExperiment.h:209
Size getNrChromatograms() const
get the total number of chromatograms available
Definition: OnDiscMSExperiment.h:155
A more convenient string class.
Definition: String.h:57
virtual void setExperimentalSettings(const ExperimentalSettings &exp)
Set experimental settings for the whole file.
Definition: MSDataWritingConsumer.h:137
bool openFile(const String &filename, bool skipMetaData=false)
Definition: OnDiscMSExperiment.h:85
PeakFileOptions options_
Options for storing.
Definition: IndexedMzMLFileLoader.h:130
Consumer class that writes MS data to disk using the mzML format.
Definition: MSDataWritingConsumer.h:375
The representation of a chromatogram.
Definition: MSChromatogram.h:52
void store(const String &filename, OnDiscMSExperiment<> &exp)
Store a file from an on-disc data-structure.
Definition: IndexedMzMLFileLoader.h:93
void setOptions(const PeakFileOptions &)
set options for loading/storing
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
File adapter for MzML files.
Definition: MzMLFile.h:55
Representation of a mass spectrometry experiment on disk.
Definition: OnDiscMSExperiment.h:67
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
bool load(const String &filename, OnDiscMSExperiment<> &exp)
Load a file.
Definition: IndexedMzMLFileLoader.h:82
void store(const String &filename, const MapType &map) const
Stores a map in a MzML file.
Definition: MzMLFile.h:109
boost::shared_ptr< const ExperimentalSettings > getExperimentalSettings() const
returns the meta information of this experiment (const access)
Definition: OnDiscMSExperiment.h:161
MSSpectrum< PeakT > getSpectrum(Size id)
returns a single spectrum
Definition: OnDiscMSExperiment.h:177
Size getNrSpectra() const
get the total number of spectra available
Definition: OnDiscMSExperiment.h:149
void setOptions(const PeakFileOptions &opt)
Set the peak file options.
Definition: MzMLHandler.h:222
virtual void consumeChromatogram(ChromatogramType &c)
Consume a chromatogram.
Definition: MSDataWritingConsumer.h:220
Options for loading files containing peak data.
Definition: PeakFileOptions.h:48
virtual void setExpectedSize(Size expectedSpectra, Size expectedChromatograms)
Set expected size of spectra and chromatograms to be written.
Definition: MSDataWritingConsumer.h:152
A class to load an indexedmzML file.
Definition: IndexedMzMLFileLoader.h:53
virtual void consumeSpectrum(SpectrumType &s)
Consume a spectrum.
Definition: MSDataWritingConsumer.h:166