libpappsomspp
Library for mass spectrometry
filterobopsimodtermdiffmono.cpp
Go to the documentation of this file.
1 
2 /*******************************************************************************
3  * Copyright (c) 2015 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
4  *
5  * This file is part of the PAPPSOms++ library.
6  *
7  * PAPPSOms++ is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * PAPPSOms++ is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
19  *
20  * Contributors:
21  * Olivier Langella <Olivier.Langella@moulon.inra.fr> - initial API and
22  *implementation
23  ******************************************************************************/
24 
26 
27 namespace pappso
28 {
30  OboPsiModHandlerInterface &sink, const MzRange &mass_range)
31  : m_massRange(mass_range), m_sink(sink)
32 {
33 }
34 
36 {
37 }
38 
39 void
40 FilterOboPsiModTermDiffMono::setOboPsiModTerm(const OboPsiModTerm &term)
41 {
42  // qDebug() << term._psi_mod_label << " " << term._psi_ms_label;
43  if(m_massRange.contains(term.m_diffMono))
44  {
46  }
47 }
48 } // namespace pappso
pappso::FilterOboPsiModTermDiffMono::m_sink
OboPsiModHandlerInterface & m_sink
Definition: filterobopsimodtermdiffmono.h:80
pappso::FilterOboPsiModTermDiffMono::setOboPsiModTerm
void setOboPsiModTerm(const OboPsiModTerm &term) override
Definition: filterobopsimodtermdiffmono.cpp:61
pappso
Definition: aa.cpp:38
pappso::FilterOboPsiModTermDiffMono::FilterOboPsiModTermDiffMono
FilterOboPsiModTermDiffMono(OboPsiModHandlerInterface &sink, const MzRange &mass_range)
Definition: filterobopsimodtermdiffmono.cpp:50
pappso::MzRange::contains
bool contains(pappso_double) const
Definition: mzrange.cpp:124
pappso::OboPsiModHandlerInterface::setOboPsiModTerm
virtual void setOboPsiModTerm(const OboPsiModTerm &term)=0
pappso::FilterOboPsiModTermDiffMono::~FilterOboPsiModTermDiffMono
~FilterOboPsiModTermDiffMono()
Definition: filterobopsimodtermdiffmono.cpp:56
pappso::FilterOboPsiModTermDiffMono::m_massRange
const MzRange m_massRange
Definition: filterobopsimodtermdiffmono.h:79
filterobopsimodtermdiffmono.h