| 55 | } |
| 56 | |
| 57 | void MSDataSqlConsumer::consumeSpectrum(SpectrumType & s) |
| 58 | { |
| 59 | spectra_.push_back(s); |
| 60 | s.clear(false); |
| 61 | if (full_meta_) |
| 62 | { |
| 63 | peak_meta_.addSpectrum(s); |
| 64 | } |
| 65 | if (spectra_.size() >= flush_after_) |
| 66 | { |
| 67 | flush(); |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | void MSDataSqlConsumer::consumeChromatogram(ChromatogramType & c) |
| 72 | { |
no test coverage detected