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
31pappso::masschroq::Protein::Protein(const QString &id, const QString &description)
32 : m_id(id), m_description(description)
33{
34}
35
40
44
45const QString &
47{
48 return m_id;
49}
50const QString &
const QString & getDescription() const
Definition protein.cpp:51
Protein(const QString &id, const QString &description)
Definition protein.cpp:31
const QString m_description
Definition protein.h:63
const QString & getId() const
Definition protein.cpp:46