Description of the experimental settings.
Definition: ExperimentalSettings.h:62
The interface of a consumer of spectra and chromatograms.
Definition: IMSDataConsumer.h:70
An class that uses on-disk caching to read and write spectra and chromatograms.
Definition: CachedMzMLHandler.h:68
The representation of a chromatogram.
Definition: MSChromatogram.h:58
Transforming and cached writing consumer of MS data.
Definition: MSDataCachedConsumer.h:57
MSChromatogram ChromatogramType
Definition: MSDataCachedConsumer.h:59
std::ofstream ofs_
Definition: MSDataCachedConsumer.h:105
Size spectra_written_
Definition: MSDataCachedConsumer.h:107
MSSpectrum SpectrumType
Definition: MSDataCachedConsumer.h:58
void setExperimentalSettings(const ExperimentalSettings &) override
Set experimental settings (meta-data) of the data to be consumed.
Definition: MSDataCachedConsumer.h:102
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:100
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:106
Size chromatograms_written_
Definition: MSDataCachedConsumer.h:108
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
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