| 1 | /** |
| 2 | * \file pappsomspp/peptide/peptidenaturalisotope.h |
| 3 | * \date 8/3/2015 |
| 4 | * \author Olivier Langella |
| 5 | * \brief peptide natural isotope model |
| 6 | */ |
| 7 | |
| 8 | /******************************************************************************* |
| 9 | * Copyright (c) 2015 Olivier Langella <[email protected]>. |
| 10 | * |
| 11 | * This file is part of the PAPPSOms++ library. |
| 12 | * |
| 13 | * PAPPSOms++ is free software: you can redistribute it and/or modify |
| 14 | * it under the terms of the GNU General Public License as published by |
| 15 | * the Free Software Foundation, either version 3 of the License, or |
| 16 | * (at your option) any later version. |
| 17 | * |
| 18 | * PAPPSOms++ is distributed in the hope that it will be useful, |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 | * GNU General Public License for more details. |
| 22 | * |
| 23 | * You should have received a copy of the GNU General Public License |
| 24 | * along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>. |
| 25 | * |
| 26 | * Contributors: |
| 27 | * Olivier Langella <[email protected]> - initial API and |
| 28 | *implementation |
| 29 | ******************************************************************************/ |
| 30 | |
| 31 | |
| 32 | #pragma once |
| 33 | |
| 34 | |
| 35 | #include "peptide.h"cxx . . $ `<file>/src/pappsomspp/core/peptide/peptide.h`/ |
| 36 | #include "pappsomspp/export-import-config.h"cxx . . $ `<file>/src/pappsomspp/export-import-config.h`/ |
| 37 | namespace pappsocxx . . $ pappso/ |
| 38 | { |
| 39 | |
| 40 | |
| 41 | class PeptideNaturalIsotopecxx . . $ pappso/PeptideNaturalIsotope#; |
| 42 | |
| 43 | typedef stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<const PeptideNaturalIsotopecxx . . $ pappso/PeptideNaturalIsotope#> PeptideNaturalIsotopeSpcxx . . $ pappso/PeptideNaturalIsotopeSp#; |
| 44 | |
| 45 | class PMSPP_LIB_DECLcxx . . $ `src/pappsomspp/export-import-config.h:10:9`! PeptideNaturalIsotopecxx . . $ pappso/PeptideNaturalIsotope# : public PeptideInterfacecxx . . $ pappso/PeptideInterface# |
| 46 | { |
| 47 | public: |
| 48 | PeptideNaturalIsotopecxx . . $ pappso/PeptideNaturalIsotope#PeptideNaturalIsotope(6c20fbe310c432bc).(const PeptideInterfaceSpcxx . . $ pappso/PeptideInterfaceSp# &peptide, |
| 49 | const stdcxx . . $ std/::mapcxx . . $ std/map#<Enumscxx . . $ pappso/Enums/::Isotopecxx . . $ pappso/Enums/Isotope#, int> &map_isotope); |
| 50 | PeptideNaturalIsotopecxx . . $ pappso/PeptideNaturalIsotope#PeptideNaturalIsotope(def2909f00b7dc1c).(const PeptideNaturalIsotopecxx . . $ pappso/PeptideNaturalIsotope# &other); |
| 51 | virtual ~cxx . . $ pappso/PeptideNaturalIsotope#`~PeptideNaturalIsotope`(49f6e7a06ebc5aa8).PeptideNaturalIsotopecxx . . $ pappso/PeptideNaturalIsotope#(); |
| 52 | |
| 53 | virtual unsigned int sizecxx . . $ pappso/PeptideNaturalIsotope#size(ddd8539a2fcdd4ce).() const override; |
| 54 | virtual const QStringcxx . . $ QString# getSequencecxx . . $ pappso/PeptideNaturalIsotope#getSequence(34227b1e5d5004df).() const override; |
| 55 | pappso_doublecxx . . $ pappso/pappso_double# getMasscxx . . $ pappso/PeptideNaturalIsotope#getMass(21b6c25e127938e2).() const override; |
| 56 | |
| 57 | virtual int getNumberOfAtomcxx . . $ pappso/PeptideNaturalIsotope#getNumberOfAtom(4ca9812335959f03).(Enumscxx . . $ pappso/Enums/::AtomIsotopeSurveycxx . . $ pappso/Enums/AtomIsotopeSurvey# atom) const override; |
| 58 | virtual int getNumberOfIsotopecxx . . $ pappso/PeptideNaturalIsotope#getNumberOfIsotope(ffb755ba5e9037d0).(Enumscxx . . $ pappso/Enums/::Isotopecxx . . $ pappso/Enums/Isotope# isotope) const override; |
| 59 | |
| 60 | pappso_doublecxx . . $ pappso/pappso_double# getIntensityRatiocxx . . $ pappso/PeptideNaturalIsotope#getIntensityRatio(af0fcd400001c4eb).(unsigned int charge) const; |
| 61 | const stdcxx . . $ std/::mapcxx . . $ std/map#<Enumscxx . . $ pappso/Enums/::Isotopecxx . . $ pappso/Enums/Isotope#, int> &getIsotopeMapcxx . . $ pappso/PeptideNaturalIsotope#getIsotopeMap(eae549e00e19c266).() const; |
| 62 | |
| 63 | virtual unsigned int getIsotopeNumbercxx . . $ pappso/PeptideNaturalIsotope#getIsotopeNumber(ddd8539a2fcdd4ce).() const; |
| 64 | |
| 65 | virtual bool isPalindromecxx . . $ pappso/PeptideNaturalIsotope#isPalindrome(50ce9a9e25b4a850).() const override; |
| 66 | |
| 67 | |
| 68 | private: |
| 69 | const PeptideInterfaceSpcxx . . $ pappso/PeptideInterfaceSp# m_peptidecxx . . $ pappso/PeptideNaturalIsotope#m_peptide.; |
| 70 | |
| 71 | const stdcxx . . $ std/::mapcxx . . $ std/map#<Enumscxx . . $ pappso/Enums/::Isotopecxx . . $ pappso/Enums/Isotope#, int> m_mapIsotopecxx . . $ pappso/PeptideNaturalIsotope#m_mapIsotope.; |
| 72 | pappso_doublecxx . . $ pappso/pappso_double# m_ratiocxx . . $ pappso/PeptideNaturalIsotope#m_ratio.; |
| 73 | pappso_doublecxx . . $ pappso/pappso_double# m_masscxx . . $ pappso/PeptideNaturalIsotope#m_mass.; |
| 74 | }; |
| 75 | |
| 76 | } // namespace pappso |