pappsomspp
Library for mass spectrometry
pappso::FilterOboPsiModTermLabel Class Reference

#include <filterobopsimodtermlabel.h>

Inheritance diagram for pappso::FilterOboPsiModTermLabel:
pappso::OboPsiModHandlerInterface

Public Member Functions

 FilterOboPsiModTermLabel (OboPsiModHandlerInterface &sink, const QString &label_search)
 
 FilterOboPsiModTermLabel (const FilterOboPsiModTermLabel &other)
 
 ~FilterOboPsiModTermLabel ()
 
void setOboPsiModTerm (const OboPsiModTerm &term) override
 

Private Attributes

QRegExp m_labelMatch
 
OboPsiModHandlerInterfacem_sink
 

Detailed Description

Definition at line 51 of file filterobopsimodtermlabel.h.

Constructor & Destructor Documentation

◆ FilterOboPsiModTermLabel() [1/2]

pappso::FilterOboPsiModTermLabel::FilterOboPsiModTermLabel ( OboPsiModHandlerInterface sink,
const QString &  label_search 
)

Definition at line 51 of file filterobopsimodtermlabel.cpp.

51 {
52  // qDebug() << term._psi_mod_label << " " << term._psi_ms_label;
53  if(m_labelMatch.exactMatch(term.m_psiModLabel))
54  {
56  }
57  else if(m_labelMatch.exactMatch(term.m_psiMsLabel))

References m_labelMatch, m_sink, and pappso::OboPsiModHandlerInterface::setOboPsiModTerm().

◆ FilterOboPsiModTermLabel() [2/2]

pappso::FilterOboPsiModTermLabel::FilterOboPsiModTermLabel ( const FilterOboPsiModTermLabel other)

Definition at line 63 of file filterobopsimodtermlabel.cpp.

◆ ~FilterOboPsiModTermLabel()

pappso::FilterOboPsiModTermLabel::~FilterOboPsiModTermLabel ( )

Definition at line 59 of file filterobopsimodtermlabel.cpp.

Member Function Documentation

◆ setOboPsiModTerm()

void pappso::FilterOboPsiModTermLabel::setOboPsiModTerm ( const OboPsiModTerm term)
overridevirtual

Implements pappso::OboPsiModHandlerInterface.

Definition at line 70 of file filterobopsimodtermlabel.cpp.

Member Data Documentation

◆ m_labelMatch

QRegExp pappso::FilterOboPsiModTermLabel::m_labelMatch
private

Definition at line 74 of file filterobopsimodtermlabel.h.

Referenced by FilterOboPsiModTermLabel().

◆ m_sink

OboPsiModHandlerInterface& pappso::FilterOboPsiModTermLabel::m_sink
private

Definition at line 75 of file filterobopsimodtermlabel.h.

Referenced by FilterOboPsiModTermLabel().


The documentation for this class was generated from the following files:
pappso::FilterOboPsiModTermLabel::m_sink
OboPsiModHandlerInterface & m_sink
Definition: filterobopsimodtermlabel.h:75
pappso::OboPsiModHandlerInterface::setOboPsiModTerm
virtual void setOboPsiModTerm(const OboPsiModTerm &term)=0
pappso::FilterOboPsiModTermLabel::m_labelMatch
QRegExp m_labelMatch
Definition: filterobopsimodtermlabel.h:74