libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
atomnumberinterface.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (c) 2016 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
3
*
4
* This file is part of the PAPPSOms++ library.
5
*
6
* PAPPSOms++ is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* PAPPSOms++ is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
18
*
19
******************************************************************************/
20
21
#pragma once
22
23
#include "
pappsomspp/core/types.h
"
24
25
namespace
pappso
26
{
27
class
OboPsiModTerm
;
28
class
ChemicalFormula
;
29
class
AtomNumberInterface
30
{
31
public
:
32
/** \brief get the number of atom C, O, N, H in the molecule
33
*/
34
virtual
int
getNumberOfAtom
(
Enums::AtomIsotopeSurvey
atom)
const
= 0;
35
36
/** \brief get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in
37
* the molecule
38
*/
39
virtual
int
getNumberOfIsotope
(
Enums::Isotope
isotope)
const
= 0;
40
41
virtual
const
ChemicalFormula
getChemicalFormula
()
const
;
42
};
43
44
45
}
// namespace pappso
pappso::AtomNumberInterface
Definition
atomnumberinterface.h:30
pappso::AtomNumberInterface::getChemicalFormula
virtual const ChemicalFormula getChemicalFormula() const
Definition
atomnumberinterface.cpp:25
pappso::AtomNumberInterface::getNumberOfIsotope
virtual int getNumberOfIsotope(Enums::Isotope isotope) const =0
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule
pappso::AtomNumberInterface::getNumberOfAtom
virtual int getNumberOfAtom(Enums::AtomIsotopeSurvey atom) const =0
get the number of atom C, O, N, H in the molecule
pappso::ChemicalFormula
Definition
chemicalformula.h:43
pappso::OboPsiModTerm
Definition
obopsimodterm.h:34
pappso::Enums::AtomIsotopeSurvey
AtomIsotopeSurvey
Definition
types.h:112
pappso::Enums::Isotope
Isotope
Definition
types.h:128
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition
aa.cpp:39
types.h
pappsomspp
core
amino_acid
atomnumberinterface.h
Generated on Tue Sep 23 2025 09:36:34 for libpappsomspp by
1.13.2