35 #ifndef OPENMS_FORMAT_INDEXEDMZMLFILELOADER_H 36 #define OPENMS_FORMAT_INDEXEDMZMLFILELOADER_H 101 options_.setWriteIndex(
true);
124 options_.setWriteIndex(
true);
126 f.
store(filename, exp);
137 #endif // OPENMS_FORMAT_INDEXEDMZMLFILELOADER_H
Size getNrChromatograms() const
get the total number of chromatograms available
Definition: OnDiscMSExperiment.h:163
A more convenient string class.
Definition: String.h:57
virtual void setExperimentalSettings(const ExperimentalSettings &exp)
Set experimental settings for the whole file.
bool openFile(const String &filename, bool skipMetaData=false)
Open a specific file on disk.
Definition: OnDiscMSExperiment.h:93
PeakFileOptions options_
Options for storing.
Definition: IndexedMzMLFileLoader.h:132
Consumer class that writes MS data to disk using the mzML format.
Definition: MSDataWritingConsumer.h:241
The representation of a chromatogram.
Definition: MSChromatogram.h:55
void setOptions(const PeakFileOptions &)
set options for loading/storing
void store(const String &filename, PeakMap &exp)
Store a file from an in-memory data-structure.
Definition: IndexedMzMLFileLoader.h:121
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
File adapter for MzML files.
Definition: MzMLFile.h:56
MSChromatogram getChromatogram(Size id)
returns a single chromatogram
Definition: OnDiscMSExperiment.h:217
Representation of a mass spectrometry experiment on disk.
Definition: OnDiscMSExperiment.h:69
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
boost::shared_ptr< const ExperimentalSettings > getExperimentalSettings() const
returns the meta information of this experiment (const access)
Definition: OnDiscMSExperiment.h:169
void store(const String &filename, OnDiscPeakMap &exp)
Store a file from an on-disc data-structure.
Definition: IndexedMzMLFileLoader.h:95
MSSpectrum getSpectrum(Size id)
returns a single spectrum
Definition: OnDiscMSExperiment.h:185
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:82
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:128
void setOptions(const PeakFileOptions &opt)
Set the peak file options.
Definition: MzMLHandler.h:160
Size getNrSpectra() const
get the total number of spectra available
Definition: OnDiscMSExperiment.h:157
virtual void consumeChromatogram(ChromatogramType &c)
Consume a chromatogram.
Options for loading files containing peak data.
Definition: PeakFileOptions.h:48
bool load(const String &filename, OnDiscPeakMap &exp)
Load a file.
Definition: IndexedMzMLFileLoader.h:84
void store(const String &filename, const PeakMap &map) const
Stores a map in an MzML file.
virtual void setExpectedSize(Size expectedSpectra, Size expectedChromatograms)
Set expected size of spectra and chromatograms to be written.
A class to load an indexedmzML file.
Definition: IndexedMzMLFileLoader.h:55
virtual void consumeSpectrum(SpectrumType &s)
Consume a spectrum.