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
34namespace pappso::masschroq
35{
36
37class Protein;
38
39typedef std::shared_ptr<Protein> ProteinSp;
40
41/**
42 * @todo write docs
43 */
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
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
std::shared_ptr< Protein > ProteinSp
Definition protein.h:39