libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
protein.cpp
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/masschroq/protein.cpp
3
* \date 10/10/2024
4
* \author Olivier Langella
5
* \brief protein model in masschroqlite
6
*/
7
8
/*******************************************************************************
9
* Copyright (c) 2024 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
#include "
protein.h
"
30
31
pappso::masschroq::Protein::Protein
(
const
QString &
id
,
const
QString &description)
32
:
m_id
(id),
m_description
(description)
33
{
34
}
35
36
pappso::masschroq::Protein::Protein
(
const
pappso::masschroq::Protein
&other)
37
:
m_id
(other.
m_id
),
m_description
(other.
m_description
)
38
{
39
}
40
41
pappso::masschroq::Protein::~Protein
()
42
{
43
}
44
45
const
QString &
46
pappso::masschroq::Protein::getId
()
const
47
{
48
return
m_id
;
49
}
50
const
QString &
51
pappso::masschroq::Protein::getDescription
()
const
52
{
53
return
m_description
;
54
}
pappso::masschroq::Protein
Definition
protein.h:45
pappso::masschroq::Protein::getDescription
const QString & getDescription() const
Definition
protein.cpp:51
pappso::masschroq::Protein::m_id
const QString m_id
Definition
protein.h:62
pappso::masschroq::Protein::~Protein
virtual ~Protein()
Definition
protein.cpp:41
pappso::masschroq::Protein::Protein
Protein(const QString &id, const QString &description)
Definition
protein.cpp:31
pappso::masschroq::Protein::m_description
const QString m_description
Definition
protein.h:63
pappso::masschroq::Protein::getId
const QString & getId() const
Definition
protein.cpp:46
protein.h
pappsomspp
core
masschroq
protein.cpp
Generated on Tue Sep 23 2025 09:36:36 for libpappsomspp by
1.13.2