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
24
25namespace pappso
26{
27class OboPsiModTerm;
28class ChemicalFormula;
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
virtual const ChemicalFormula getChemicalFormula() const
virtual int getNumberOfIsotope(Enums::Isotope isotope) const =0
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule
virtual int getNumberOfAtom(Enums::AtomIsotopeSurvey atom) const =0
get the number of atom C, O, N, H in the molecule
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39