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