libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
protein.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/masschroq/protein.h
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
#pragma once
30
31
#include <memory>
32
#include <QString>
33
34
namespace
pappso::masschroq
35
{
36
37
class
Protein;
38
39
typedef
std::shared_ptr<Protein>
ProteinSp
;
40
41
/**
42
* @todo write docs
43
*/
44
class
Protein
45
{
46
public
:
47
/**
48
* Default constructor
49
*/
50
Protein
(
const
QString &
id
,
const
QString &description);
51
52
Protein
(
const
Protein
&other);
53
54
/**
55
* Destructor
56
*/
57
virtual
~Protein
();
58
const
QString &
getId
()
const
;
59
const
QString &
getDescription
()
const
;
60
61
private
:
62
const
QString
m_id
;
63
const
QString
m_description
;
64
};
65
}
// namespace mcql
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::m_description
const QString m_description
Definition
protein.h:63
pappso::masschroq::Protein::getId
const QString & getId() const
Definition
protein.cpp:46
pappso::masschroq
Definition
alignmentmethod.h:38
pappso::masschroq::ProteinSp
std::shared_ptr< Protein > ProteinSp
Definition
protein.h:39
pappsomspp
core
masschroq
protein.h
Generated on Thu Nov 6 2025 12:27:26 for libpappsomspp by
1.9.8