libpappsomspp
Library for mass spectrometry
|
store all qualified spectrum into a vector More...
#include <spectrumcollectionhandlerinterface.h>
Public Member Functions | |
MsRunReaderQualifiedSpectrumList () | |
virtual | ~MsRunReaderQualifiedSpectrumList () |
virtual void | setQualifiedMassSpectrum (const QualifiedMassSpectrum &qualified_mass_spectrum) override |
virtual bool | needPeakList () const override |
tells if we need the peak list (if we want the binary data) for each spectrum | |
virtual void | spectrumListHasSize (std::size_t size) override |
const std::vector< QualifiedMassSpectrum > & | getQualifiedMassSpectrumList () const |
void | clear () |
![]() | |
virtual bool | needMsLevelPeakList (unsigned int ms_level) const final |
tells if we need the peak list (if we want the binary data) for each spectrum, given an MS level | |
virtual void | setNeedMsLevelPeakList (unsigned int ms_level, bool want_peak_list) final |
tells if we need the peak list given | |
virtual bool | shouldStop () |
virtual void | loadingEnded () |
virtual void | setReadAhead (bool is_read_ahead) final |
use threads to read a spectrum by batch of batch_size | |
virtual bool | isReadAhead () const |
tells if we want to read ahead spectrum | |
Private Attributes | |
std::vector< QualifiedMassSpectrum > | m_qualifiedSpectrumList |
store all qualified spectrum into a vector
Definition at line 185 of file spectrumcollectionhandlerinterface.h.
pappso::MsRunReaderQualifiedSpectrumList::MsRunReaderQualifiedSpectrumList | ( | ) |
Definition at line 310 of file spectrumcollectionhandlerinterface.cpp.
|
virtual |
Definition at line 315 of file spectrumcollectionhandlerinterface.cpp.
void pappso::MsRunReaderQualifiedSpectrumList::clear | ( | ) |
Definition at line 347 of file spectrumcollectionhandlerinterface.cpp.
References m_qualifiedSpectrumList.
const std::vector< QualifiedMassSpectrum > & pappso::MsRunReaderQualifiedSpectrumList::getQualifiedMassSpectrumList | ( | ) | const |
Definition at line 341 of file spectrumcollectionhandlerinterface.cpp.
References m_qualifiedSpectrumList.
|
overridevirtual |
tells if we need the peak list (if we want the binary data) for each spectrum
Implements pappso::SpectrumCollectionHandlerInterface.
Definition at line 321 of file spectrumcollectionhandlerinterface.cpp.
|
overridevirtual |
Implements pappso::SpectrumCollectionHandlerInterface.
Definition at line 333 of file spectrumcollectionhandlerinterface.cpp.
References pappso::QualifiedMassSpectrum::getMassSpectrumId(), pappso::MassSpectrumId::getNativeId(), and m_qualifiedSpectrumList.
|
overridevirtual |
Reimplemented from pappso::SpectrumCollectionHandlerInterface.
Definition at line 327 of file spectrumcollectionhandlerinterface.cpp.
References m_qualifiedSpectrumList.
|
private |
Definition at line 202 of file spectrumcollectionhandlerinterface.h.
Referenced by clear(), getQualifiedMassSpectrumList(), setQualifiedMassSpectrum(), and spectrumListHasSize().