20 class MzMLSqliteHandler;
55 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:36
The interface of a consumer of spectra and chromatograms.
Definition: IMSDataConsumer.h:46
Sqlite handler for storing spectra and chromatograms in sqMass format.
Definition: MzMLSqliteHandler.h:52
The representation of a chromatogram.
Definition: MSChromatogram.h:30
A data consumer that inserts MS data into a SQLite database.
Definition: MSDataSqlConsumer.h:36
std::vector< SpectrumType > spectra_
Definition: MSDataSqlConsumer.h:93
String filename_
Definition: MSDataSqlConsumer.h:88
std::vector< ChromatogramType > chromatograms_
Definition: MSDataSqlConsumer.h:94
OpenMS::Internal::MzMLSqliteHandler * handler_
Definition: MSDataSqlConsumer.h:89
~MSDataSqlConsumer() override
Destructor.
MapType::ChromatogramType ChromatogramType
Definition: MSDataSqlConsumer.h:39
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:91
void consumeChromatogram(ChromatogramType &c) override
Write a chromatogram to the output file.
bool full_meta_
Definition: MSDataSqlConsumer.h:92
void setExpectedSize(Size, Size) override
Set expected size of spectra and chromatograms to be consumed.
MSExperiment peak_meta_
Definition: MSDataSqlConsumer.h:96
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:38
MSExperiment MapType
Definition: MSDataSqlConsumer.h:37
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
The representation of a 1D spectrum.
Definition: MSSpectrum.h:44
A more convenient string class.
Definition: String.h:34
uint64_t UInt64
Unsigned integer type (64bit)
Definition: Types.h:47
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
const double c
Definition: Constants.h:188
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19