Description of the experimental settings.
Definition: ExperimentalSettings.h:36
The interface of a consumer of spectra and chromatograms.
Definition: IMSDataConsumer.h:44
An class that uses on-disk caching to read and write spectra and chromatograms.
Definition: CachedMzMLHandler.h:42
The representation of a chromatogram.
Definition: MSChromatogram.h:31
Transforming and cached writing consumer of MS data.
Definition: MSDataCachedConsumer.h:31
MSChromatogram ChromatogramType
Definition: MSDataCachedConsumer.h:33
std::ofstream ofs_
Definition: MSDataCachedConsumer.h:79
Size spectra_written_
Definition: MSDataCachedConsumer.h:81
MSSpectrum SpectrumType
Definition: MSDataCachedConsumer.h:32
void setExperimentalSettings(const ExperimentalSettings &) override
Set experimental settings (meta-data) of the data to be consumed.
Definition: MSDataCachedConsumer.h:76
void consumeChromatogram(ChromatogramType &c) override
Write a chromatogram to the output file.
void setExpectedSize(Size, Size) override
Set expected size of spectra and chromatograms to be consumed.
Definition: MSDataCachedConsumer.h:74
MSDataCachedConsumer(const String &filename, bool clearData=true)
Constructor.
~MSDataCachedConsumer() override
Destructor.
void consumeSpectrum(SpectrumType &s) override
Write a spectrum to the output file.
bool clearData_
Definition: MSDataCachedConsumer.h:80
Size chromatograms_written_
Definition: MSDataCachedConsumer.h:82
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
A more convenient string class.
Definition: String.h:34
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:101
const double c
Definition: Constants.h:188
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22