libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
filterobopsimodmap.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/obo/obopsimodmap.h
3
* \date 2/10/2024
4
* \author Olivier Langella
5
* \brief map container for obo psi mod terms
6
**/
7
8
/*******************************************************************************
9
* Copyright (c) 2024 Olivier Langella
10
*<Olivier.Langella@universite-paris-saclay.fr>.
11
*
12
* This file is part of the PAPPSOms++ library.
13
*
14
* PAPPSOms++ 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
* PAPPSOms++ 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 PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
26
*
27
******************************************************************************/
28
29
#pragma once
30
31
32
#include "
obopsimod.h
"
33
34
namespace
pappso
35
{
36
37
class
PMSPP_LIB_DECL
FilterOboPsiModMap
:
public
OboPsiModHandlerInterface
38
{
39
40
public
:
41
FilterOboPsiModMap
();
42
/**
43
* Destructor
44
*/
45
virtual
~FilterOboPsiModMap
();
46
47
virtual
void
setOboPsiModTerm(
const
OboPsiModTerm
&term)
override
;
48
49
const
OboPsiModTerm
&getOboPsiModTermWithAccession(
const
QString &accession)
const
;
50
51
/** @brief get the first occurence of term with this name
52
* @warning not reliable, it does not check for unicity
53
*/
54
const
OboPsiModTerm
&getOboPsiModTermWithName(
const
QString &name)
const
;
55
56
private
:
57
std::map<QString, const OboPsiModTerm>
m_mapOboPsiModTerm
;
58
};
59
}
// namespace pappso
pappso::FilterOboPsiModMap
Definition
filterobopsimodmap.h:38
pappso::FilterOboPsiModMap::m_mapOboPsiModTerm
std::map< QString, const OboPsiModTerm > m_mapOboPsiModTerm
Definition
filterobopsimodmap.h:57
pappso::OboPsiModHandlerInterface
Definition
obopsimodhandlerinterface.h:31
pappso::OboPsiModTerm
Definition
obopsimodterm.h:34
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition
export-import-config.h:14
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition
aa.cpp:39
obopsimod.h
pappsomspp
core
obo
filterobopsimodmap.h
Generated on Thu Nov 6 2025 12:27:26 for libpappsomspp by
1.9.8