libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
peptidelabel.h
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#pragma once
30
31#include "peptide.h"
32
33namespace pappso::masschroq
34{
35
36/**
37 * @todo write docs
38 */
40{
41 public:
42 /**
43 * Default constructor
44 */
45 PeptideLabel(const pappso::PeptideSp &labelled_peptide_p,
46 const Peptide *parent_peptide_p,
47 const QString &label);
48
49 /**
50 * Destructor
51 */
52 virtual ~PeptideLabel();
53
54 const QString &getLabel() const;
55
56
57 private:
59 QString m_label;
60};
61} // namespace pappso::masschroq
PeptideBase(const pappso::PeptideSp &peptide_sp)
const QString & getLabel() const
PeptideLabel(const pappso::PeptideSp &labelled_peptide_p, const Peptide *parent_peptide_p, const QString &label)
std::shared_ptr< const Peptide > PeptideSp