libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
peptidelabel.cpp
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/masschroq/peptidelabel.h
3
* \date 09/01/2025
4
* \author Olivier Langella
5
* \brief peptide label model in masschroqlite
6
*/
7
8
/*******************************************************************************
9
* Copyright (c) 2025 Olivier Langella
10
*<Olivier.Langella@universite-paris-saclay.fr>.
11
*
12
* This file is part of MassChroQ.
13
*
14
* MassChroQ is free software: you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation, either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* MassChroQ is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
23
*
24
* You should have received a copy of the GNU General Public License
25
* along with MassChroQ. If not, see <http://www.gnu.org/licenses/>.
26
*
27
******************************************************************************/
28
29
30
#include "
peptidelabel.h
"
31
#include "
../peptide/peptideproformaparser.h
"
32
33
pappso::masschroq::PeptideLabel::PeptideLabel
(
const
pappso::PeptideSp
&labelled_peptide_p,
34
const
pappso::masschroq::Peptide
*parent_peptide_p,
35
const
QString &label)
36
:
PeptideBase
(labelled_peptide_p),
mp_mcqlPeptide
(parent_peptide_p)
37
{
38
m_label
= label;
39
}
40
41
pappso::masschroq::PeptideLabel::~PeptideLabel
()
42
{
43
if
(
mpa_peptideNaturalIsotopeList
!=
nullptr
)
44
delete
mpa_peptideNaturalIsotopeList
;
45
}
46
47
const
QString &
48
pappso::masschroq::PeptideLabel::getLabel
()
const
49
{
50
return
m_label
;
51
}
52
pappso::masschroq::PeptideBase::PeptideBase
PeptideBase(const pappso::PeptideSp &peptide_sp)
Definition
peptidebase.cpp:31
pappso::masschroq::PeptideBase::mpa_peptideNaturalIsotopeList
pappso::PeptideNaturalIsotopeList * mpa_peptideNaturalIsotopeList
Definition
peptidebase.h:89
pappso::masschroq::PeptideLabel::~PeptideLabel
virtual ~PeptideLabel()
Definition
peptidelabel.cpp:41
pappso::masschroq::PeptideLabel::m_label
QString m_label
Definition
peptidelabel.h:59
pappso::masschroq::PeptideLabel::mp_mcqlPeptide
const Peptide * mp_mcqlPeptide
Definition
peptidelabel.h:58
pappso::masschroq::PeptideLabel::getLabel
const QString & getLabel() const
Definition
peptidelabel.cpp:48
pappso::masschroq::PeptideLabel::PeptideLabel
PeptideLabel(const pappso::PeptideSp &labelled_peptide_p, const Peptide *parent_peptide_p, const QString &label)
Definition
peptidelabel.cpp:33
pappso::masschroq::Peptide
Definition
peptide.h:58
pappso::PeptideSp
std::shared_ptr< const Peptide > PeptideSp
Definition
aamodification.h:48
peptidelabel.h
peptideproformaparser.h
pappsomspp
core
masschroq
peptidelabel.cpp
Generated on Tue Sep 23 2025 09:36:35 for libpappsomspp by
1.13.2