99 options_.setWriteIndex(
true);
122 options_.setWriteIndex(
true);
124 f.
store(filename, exp);
Size getNrChromatograms() const
get the total number of chromatograms available
Definition: OnDiscMSExperiment.h:162
A more convenient string class.
Definition: String.h:57
bool openFile(const String &filename, bool skipMetaData=false)
Open a specific file on disk.
Definition: OnDiscMSExperiment.h:92
PeakFileOptions options_
Options for storing.
Definition: IndexedMzMLFileLoader.h:130
void consumeSpectrum(SpectrumType &s) override
Consume a spectrum.
Consumer class that writes MS data to disk using the mzML format.
Definition: MSDataWritingConsumer.h:240
The representation of a chromatogram.
Definition: MSChromatogram.h:54
void setExperimentalSettings(const ExperimentalSettings &exp) override
Set experimental settings for the whole file.
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:119
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
File adapter for MzML files.
Definition: MzMLFile.h:55
MSChromatogram getChromatogram(Size id)
returns a single chromatogram
Definition: OnDiscMSExperiment.h:209
Representation of a mass spectrometry experiment on disk.
Definition: OnDiscMSExperiment.h:68
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
boost::shared_ptr< const ExperimentalSettings > getExperimentalSettings() const
returns the meta information of this experiment (const access)
Definition: OnDiscMSExperiment.h:168
void store(const String &filename, OnDiscPeakMap &exp)
Store a file from an on-disc data-structure.
Definition: IndexedMzMLFileLoader.h:93
MSSpectrum getSpectrum(Size id)
returns a single spectrum
Definition: OnDiscMSExperiment.h:189
void setExpectedSize(Size expectedSpectra, Size expectedChromatograms) override
Set expected size of spectra and chromatograms to be written.
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
void setOptions(const PeakFileOptions &opt)
Set the peak file options.
Size getNrSpectra() const
get the total number of spectra available
Definition: OnDiscMSExperiment.h:156
void consumeChromatogram(ChromatogramType &c) override
Consume a chromatogram.
Options for loading files containing peak data.
Definition: PeakFileOptions.h:47
bool load(const String &filename, OnDiscPeakMap &exp)
Load a file.
Definition: IndexedMzMLFileLoader.h:82
void store(const String &filename, const PeakMap &map) const
Stores a map in an MzML file.
A class to load an indexedmzML file.
Definition: IndexedMzMLFileLoader.h:53