obopsimodterm.h
Go to the documentation of this file.
/*******************************************************************************
* Copyright (c) 2015 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
*
* This file is part of the PAPPSOms++ library.
*
* PAPPSOms++ 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.
*
* PAPPSOms++ 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 PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#pragma once
#include <QRegExp>
#include "../exportinmportconfig.h"
namespace pappso
{
class OboPsiMod;
class PMSPP_LIB_DECL OboPsiModTerm
{
friend OboPsiMod;
public:
OboPsiModTerm() = default;
~OboPsiModTerm() = default;
OboPsiModTerm(const OboPsiModTerm &) = default;
OboPsiModTerm &operator=(const OboPsiModTerm &) = default;
bool isValid() const;
public:
QString m_accession;
QString m_name;
QString m_definition;
QString m_psiModLabel;
QString m_psiMsLabel;
QString m_diffFormula;
QString m_origin;
double m_diffMono;
private:
void parseLine(const QString &line);
void clearTerm();
static QRegExp m_firstParse;
static QRegExp m_findExactPsiModLabel;
static QRegExp m_findRelatedPsiMsLabel;
};
} // namespace pappso
extern int oboPsiModTermMetaTypeId;
pappso::OboPsiModTerm
Definition: obopsimodterm.h:32
pappso::OboPsiModTerm::m_findExactPsiModLabel
static QRegExp m_findExactPsiModLabel
Definition: obopsimodterm.h:59
pappso::OboPsiModTerm::m_psiModLabel
QString m_psiModLabel
Definition: obopsimodterm.h:47
pappso::OboPsiModTerm::m_firstParse
static QRegExp m_firstParse
Definition: obopsimodterm.h:58
pappso::OboPsiModTerm::operator=
OboPsiModTerm & operator=(const OboPsiModTerm &)=default
pappso::OboPsiModTerm::m_psiMsLabel
QString m_psiMsLabel
Definition: obopsimodterm.h:48
pappso::OboPsiModTerm::m_diffFormula
QString m_diffFormula
Definition: obopsimodterm.h:49
pappso::OboPsiModTerm::m_origin
QString m_origin
Definition: obopsimodterm.h:50
pappso::OboPsiModTerm::m_definition
QString m_definition
Definition: obopsimodterm.h:46
pappso::OboPsiModTerm::m_findRelatedPsiMsLabel
static QRegExp m_findRelatedPsiMsLabel
Definition: obopsimodterm.h:60
pappso::OboPsiModTerm::OboPsiModTerm
OboPsiModTerm(const OboPsiModTerm &)=default
pappso::OboPsiModTerm::OboPsiModTerm
OboPsiModTerm()=default
pappso::OboPsiModTerm::~OboPsiModTerm
~OboPsiModTerm()=default
pappso::OboPsiModTerm::m_diffMono
double m_diffMono
Definition: obopsimodterm.h:52
pappso::OboPsiModTerm::m_accession
QString m_accession
Definition: obopsimodterm.h:44
pappso::OboPsiModTerm::OboPsiMod
friend OboPsiMod
Definition: obopsimodterm.h:33
pappso::OboPsiModTerm::m_name
QString m_name
Definition: obopsimodterm.h:45
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition: exportinmportconfig.h:14
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39
oboPsiModTermMetaTypeId
int oboPsiModTermMetaTypeId
Definition: obopsimodterm.cpp:29