46 class MzMLSqliteHandler;
81 MSDataSqlConsumer(
const String& sql_filename,
UInt64 run_id,
int buffer_size = 500,
bool full_meta =
true,
bool lossy_compression=
false,
double linear_mass_acc=1e-4);
Description of the experimental settings.
Definition: ExperimentalSettings.h:62
The interface of a consumer of spectra and chromatograms.
Definition: IMSDataConsumer.h:70
Sqlite handler for storing spectra and chromatograms in sqMass format.
Definition: MzMLSqliteHandler.h:78
The representation of a chromatogram.
Definition: MSChromatogram.h:58
A data consumer that inserts MS data into a SQLite database.
Definition: MSDataSqlConsumer.h:62
std::vector< SpectrumType > spectra_
Definition: MSDataSqlConsumer.h:119
String filename_
Definition: MSDataSqlConsumer.h:114
std::vector< ChromatogramType > chromatograms_
Definition: MSDataSqlConsumer.h:120
OpenMS::Internal::MzMLSqliteHandler * handler_
Definition: MSDataSqlConsumer.h:115
~MSDataSqlConsumer() override
Destructor.
MapType::ChromatogramType ChromatogramType
Definition: MSDataSqlConsumer.h:65
MSDataSqlConsumer(const String &sql_filename, UInt64 run_id, int buffer_size=500, bool full_meta=true, bool lossy_compression=false, double linear_mass_acc=1e-4)
Constructor.
void setExperimentalSettings(const ExperimentalSettings &) override
Set experimental settings (meta-data) of the data to be consumed.
size_t flush_after_
Definition: MSDataSqlConsumer.h:117
void consumeChromatogram(ChromatogramType &c) override
Write a chromatogram to the output file.
bool full_meta_
Definition: MSDataSqlConsumer.h:118
void setExpectedSize(Size, Size) override
Set expected size of spectra and chromatograms to be consumed.
MSExperiment peak_meta_
Definition: MSDataSqlConsumer.h:122
void consumeSpectrum(SpectrumType &s) override
Write a spectrum to the output file.
void flush()
Flushes the data for good.
MapType::SpectrumType SpectrumType
Definition: MSDataSqlConsumer.h:64
MSExperiment MapType
Definition: MSDataSqlConsumer.h:63
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:80
The representation of a 1D spectrum.
Definition: MSSpectrum.h:71
A more convenient string class.
Definition: String.h:61
OPENMS_UINT64_TYPE UInt64
Unsigned integer type (64bit)
Definition: Types.h:77
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