Loading...
Searching...
No Matches
peptidelabel.h
Go to the documentation of this file.
/**
* \file pappsomspp/masschroq/peptidelabel.h
* \date 09/01/2025
* \author Olivier Langella
* \brief peptide label model in masschroqlite
*/
/*******************************************************************************
* Copyright (c) 2025 Olivier Langella
*<Olivier.Langella@universite-paris-saclay.fr>.
*
* This file is part of MassChroQ.
*
* MassChroQ is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MassChroQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with MassChroQ. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#pragma once
#include "peptide.h"
namespace pappso::masschroq
{
/**
* @todo write docs
*/
class PeptideLabel : public PeptideBase
{
public:
/**
* Default constructor
*/
PeptideLabel(const pappso::PeptideSp &labelled_peptide_p,
const Peptide *parent_peptide_p,
const QString &label);
/**
* Destructor
*/
virtual ~PeptideLabel();
const QString &getLabel() const;
private:
const Peptide *mp_mcqlPeptide;
QString m_label;
};
} // namespace pappso::masschroq
pappso::masschroq::PeptideBase::PeptideBase
PeptideBase(const pappso::PeptideSp &peptide_sp)
Definition peptidebase.cpp:31
pappso::masschroq::PeptideLabel::~PeptideLabel
virtual ~PeptideLabel()
Definition peptidelabel.cpp:41
pappso::masschroq::PeptideLabel::m_label
QString m_label
Definition peptidelabel.h:59
pappso::masschroq::PeptideLabel::mp_mcqlPeptide
const Peptide * mp_mcqlPeptide
Definition peptidelabel.h:58
pappso::masschroq::PeptideLabel::getLabel
const QString & getLabel() const
Definition peptidelabel.cpp:48
pappso::masschroq::PeptideLabel::PeptideLabel
PeptideLabel(const pappso::PeptideSp &labelled_peptide_p, const Peptide *parent_peptide_p, const QString &label)
Definition peptidelabel.cpp:33
pappso::masschroq::Peptide
Definition peptide.h:58
peptide.h
pappso::masschroq
Definition alignmentmethod.h:38
pappso::PeptideSp
std::shared_ptr< const Peptide > PeptideSp
Definition aamodification.h:48