Sqlite handler for storing spectra and chromatograms. More...
#include <OpenMS/FORMAT/HANDLERS/MzMLSqliteHandler.h>
Public Member Functions | |
| MzMLSqliteHandler (String filename) | |
Protected Attributes | |
| String | filename_ |
| Base64 | base64coder_ |
| Decoder/Encoder for Base64-data in MzML. More... | |
| MSNumpressCoder | numpress_coder_ |
| Int | spec_id_ |
| Int | chrom_id_ |
Functions for reading files | |
----------------------------------- Reading of SQL file starts here ----------------------------------- | |
| void | readExperiment (MSExperiment &exp, bool meta_only=false) |
| Read an experiment into an MSExperiment structure. More... | |
| void | populateChromatogramsWithData_ (sqlite3 *db, std::vector< MSChromatogram > &chromatograms) |
| void | populateSpectraWithData_ (sqlite3 *db, std::vector< MSSpectrum > &spectra) |
| void | prepareChroms_ (sqlite3 *db, std::vector< MSChromatogram > &chromatograms) |
| void | prepareSpectra_ (sqlite3 *db, std::vector< MSSpectrum > &spectra) |
Functions for writing files | |
----------------------------------- Writing to SQL file starts here ----------------------------------- | |
| void | writeExperiment (const MSExperiment &exp) |
| Write an experiment to disk. More... | |
| void | createTables () |
| Create data tables for a new file. More... | |
| void | writeSpectra (const std::vector< MSSpectrum > &spectra) |
| Writes a set of spectra to disk. More... | |
| void | writeChromatograms (const std::vector< MSChromatogram > &chroms) |
| Writes a set of chromatograms to disk. More... | |
| void | executeBlobBind_ (sqlite3 *db, String &prepare_statement, std::vector< String > &data) |
| void | executeSql_ (sqlite3 *db, const std::stringstream &statement) |
Sqlite handler for storing spectra and chromatograms.
| MzMLSqliteHandler | ( | String | filename | ) |
| void createTables | ( | ) |
Create data tables for a new file.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| void readExperiment | ( | MSExperiment & | exp, |
| bool | meta_only = false |
||
| ) |
Read an experiment into an MSExperiment structure.
| exp | The result data structure |
| meta_only | Only read the meta data |
| void writeChromatograms | ( | const std::vector< MSChromatogram > & | chroms | ) |
Writes a set of chromatograms to disk.
| chromatograms | The chromatograms to write |
| void writeExperiment | ( | const MSExperiment & | exp | ) |
Write an experiment to disk.
| exp | The data to write |
| void writeSpectra | ( | const std::vector< MSSpectrum > & | spectra | ) |
Writes a set of spectra to disk.
| spectra | The spectra to write |
|
protected |
Decoder/Encoder for Base64-data in MzML.
|
protected |
|
protected |
|
protected |
|
protected |
| OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:14 using doxygen 1.8.13 |