libpappsomspp
Library for mass spectrometry
pappso::MzxmlOutput::Translater Class Reference
Inheritance diagram for pappso::MzxmlOutput::Translater:
pappso::SpectrumCollectionHandlerInterface

Public Member Functions

 Translater (MzxmlOutput *p_mzxml_output)
 
virtual ~Translater ()
 
virtual void setQualifiedMassSpectrum (const QualifiedMassSpectrum &spectrum) override
 
virtual bool needPeakList () const override
 tells if we need the peak list (if we want the binary data) for each spectrum More...
 
- 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 More...
 
virtual void setNeedMsLevelPeakList (unsigned int ms_level, bool want_peak_list) final
 tells if we need the peak list given More...
 
virtual bool shouldStop ()
 
virtual void loadingEnded ()
 
virtual void spectrumListHasSize (std::size_t size)
 
virtual void setReadAhead (bool is_read_ahead) final
 use threads to read a spectrum by batch of batch_size More...
 
virtual bool isReadAhead () const
 tells if we want to read ahead spectrum More...
 

Private Attributes

MzxmlOutputmp_output
 

Detailed Description

Definition at line 116 of file mzxmloutput.h.

Constructor & Destructor Documentation

◆ Translater()

MzxmlOutput::Translater::Translater ( MzxmlOutput p_mzxml_output)

Definition at line 52 of file mzxmloutput.cpp.

53 {
54  mp_output = p_mzxml_output;
55 }

References mp_output.

◆ ~Translater()

MzxmlOutput::Translater::~Translater ( )
virtual

Definition at line 56 of file mzxmloutput.cpp.

57 {
58 }

Member Function Documentation

◆ needPeakList()

bool MzxmlOutput::Translater::needPeakList ( ) const
overridevirtual

tells if we need the peak list (if we want the binary data) for each spectrum

Implements pappso::SpectrumCollectionHandlerInterface.

Definition at line 68 of file mzxmloutput.cpp.

69 {
70  return true;
71 }

◆ setQualifiedMassSpectrum()

void MzxmlOutput::Translater::setQualifiedMassSpectrum ( const QualifiedMassSpectrum spectrum)
overridevirtual

Implements pappso::SpectrumCollectionHandlerInterface.

Definition at line 60 of file mzxmloutput.cpp.

62 {
63  qDebug();
65  qDebug();
66 }

Member Data Documentation

◆ mp_output

MzxmlOutput* pappso::MzxmlOutput::Translater::mp_output
private

Definition at line 126 of file mzxmloutput.h.

Referenced by Translater().


The documentation for this class was generated from the following files:
pappso::MzxmlOutput::Translater::mp_output
MzxmlOutput * mp_output
Definition: mzxmloutput.h:126
pappso::MzxmlOutput::writeQualifiedMassSpectrum
void writeQualifiedMassSpectrum(const QualifiedMassSpectrum &spectrum)
Definition: mzxmloutput.cpp:261