libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
obounimod.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/obo/obounimod.h
3
* \date 06/04/2025
4
* \author Olivier Langella
5
* \brief OBO UNIMOD file parser
6
**/
7
8
/*******************************************************************************
9
* Copyright (c) 2025 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
#include "
pappsomspp/core/types.h
"
32
#include "
pappsomspp/export-import-config.h
"
33
#include "
obopsimodterm.h
"
34
#include "
obopsimodhandlerinterface.h
"
35
36
namespace
pappso
37
{
38
class
PMSPP_LIB_DECL
OboUnimod
39
{
40
public
:
41
OboUnimod
(
OboPsiModHandlerInterface
&handler);
42
virtual
~OboUnimod
();
43
44
private
:
45
OboPsiModTerm
m_term
;
46
OboPsiModHandlerInterface
&
m_handler
;
47
48
/** @brief starts reading obo file and reports each term with the callback
49
* function
50
*/
51
void
parse
();
52
};
53
}
// namespace pappso
54
pappso::OboPsiModHandlerInterface
Definition
obopsimodhandlerinterface.h:31
pappso::OboPsiModTerm
Definition
obopsimodterm.h:34
pappso::OboUnimod::OboUnimod
OboUnimod(OboPsiModHandlerInterface &handler)
Definition
obounimod.cpp:45
pappso::OboUnimod::parse
void parse()
starts reading obo file and reports each term with the callback function
Definition
obounimod.cpp:59
pappso::OboUnimod::m_handler
OboPsiModHandlerInterface & m_handler
Definition
obounimod.h:46
pappso::OboUnimod::m_term
OboPsiModTerm m_term
Definition
obounimod.h:45
export-import-config.h
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
obopsimodhandlerinterface.h
obopsimodterm.h
types.h
pappsomspp
core
obo
obounimod.h
Generated on Tue Sep 23 2025 09:36:35 for libpappsomspp by
1.13.2