| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
Load all qualified spectrum into a vector. More...
#include <spectrumcollectionhandlerinterface.h>
  
Public Member Functions | |
| MsRunQualifiedSpectrumLoader () | |
| virtual | ~MsRunQualifiedSpectrumLoader () | 
| 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 () | 
  Public Member Functions inherited from pappso::SpectrumCollectionHandlerInterface | |
| 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 | 
Load all qualified spectrum into a vector.
Definition at line 185 of file spectrumcollectionhandlerinterface.h.
| pappso::MsRunQualifiedSpectrumLoader::MsRunQualifiedSpectrumLoader | ( | ) | 
Definition at line 310 of file spectrumcollectionhandlerinterface.cpp.
      
  | 
  virtual | 
Definition at line 315 of file spectrumcollectionhandlerinterface.cpp.
| void pappso::MsRunQualifiedSpectrumLoader::clear | ( | ) | 
Definition at line 348 of file spectrumcollectionhandlerinterface.cpp.
References m_qualifiedSpectrumList.
| const std::vector< QualifiedMassSpectrum > & pappso::MsRunQualifiedSpectrumLoader::getQualifiedMassSpectrumList | ( | ) | const | 
Definition at line 342 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 334 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().