| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
#include <peptidefragment.h>
  
Public Member Functions | |
| PeptideFragment (const PeptideSp &sp_peptide, PeptideDirection direction, unsigned int size) | |
| PeptideFragment (const PeptideFragment &other) | |
| PeptideFragment (PeptideFragment &&toCopy) | |
| virtual | ~PeptideFragment () | 
| virtual const PeptideSp & | getPeptideSp () const | 
| virtual unsigned int | size () const override | 
| virtual const QString | getSequence () const override | 
| amino acid sequence without modification   | |
| virtual pappso_double | getMass () const override | 
| PeptideDirection | getPeptideIonDirection () const | 
| virtual int | getNumberOfAtom (Enums::AtomIsotopeSurvey atom) const override | 
| get the number of atom C, O, N, H in the molecule   | |
| virtual int | getNumberOfIsotope (Enums::Isotope isotope) const override | 
| get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule   | |
| virtual bool | isPalindrome () const override | 
| tells if the peptide sequence is a palindrome   | |
  Public Member Functions inherited from pappso::PeptideInterface | |
| virtual const QString | getSequenceLi () const | 
| amino acid sequence without modification where L are replaced by I   | |
| virtual const QString | getName () const | 
| virtual const ChemicalFormula | getChemicalFormulaCharge (unsigned int charge) const | 
| virtual const QString | getFormula (unsigned int charge) const final | 
| virtual bool | matchPeak (PrecisionPtr precision, pappso_double peak_mz, unsigned int charge) const final | 
| tells if the peptide m/z matches a given experimental mass   | |
  Public Member Functions inherited from pappso::Ion | |
| Ion () | |
| ~Ion () | |
| virtual pappso_double | getMz (unsigned int charge) const final | 
  Public Member Functions inherited from pappso::AtomNumberInterface | |
| virtual const ChemicalFormula | getChemicalFormula () const | 
Static Public Member Functions | |
| static const QString | getPeptideIonDirectionName (PeptideDirection direction) | 
Private Attributes | |
| const PeptideSp | msp_peptide | 
| const PeptideDirection | m_direction | 
| const unsigned int | m_size = 0 | 
| pappso_double | m_mass = 0 | 
Definition at line 47 of file peptidefragment.h.
| pappso::PeptideFragment::PeptideFragment | ( | const PeptideSp & | sp_peptide, | 
| PeptideDirection | direction, | ||
| unsigned int | size ) | 
Definition at line 38 of file peptidefragment.cpp.
References getMass(), m_direction, m_mass, m_size, msp_peptide, pappso::Nter, and size().
Referenced by PeptideFragment(), and PeptideFragment().
| pappso::PeptideFragment::PeptideFragment | ( | const PeptideFragment & | other | ) | 
Definition at line 82 of file peptidefragment.cpp.
References PeptideFragment(), m_direction, m_mass, m_size, and msp_peptide.
| pappso::PeptideFragment::PeptideFragment | ( | PeptideFragment && | toCopy | ) | 
Definition at line 89 of file peptidefragment.cpp.
References PeptideFragment(), m_direction, m_mass, m_size, and msp_peptide.
      
  | 
  virtual | 
Definition at line 98 of file peptidefragment.cpp.
      
  | 
  overridevirtual | 
Implements pappso::Ion.
Definition at line 234 of file peptidefragment.cpp.
References m_mass.
Referenced by PeptideFragment().
      
  | 
  overridevirtual | 
get the number of atom C, O, N, H in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 137 of file peptidefragment.cpp.
References m_direction, m_size, msp_peptide, and pappso::Nter.
      
  | 
  overridevirtual | 
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 179 of file peptidefragment.cpp.
References m_direction, m_size, msp_peptide, and pappso::Nter.
| PeptideDirection pappso::PeptideFragment::getPeptideIonDirection | ( | ) | const | 
Definition at line 240 of file peptidefragment.cpp.
References m_direction.
      
  | 
  static | 
Definition at line 103 of file peptidefragment.cpp.
References pappso::Cter, and pappso::Nter.
Referenced by pappso::PeptideFragmentIon::PeptideFragmentIon(), and pappso::XtandemHyperscore::getXtandemPredictedIonIntensityFactor().
      
  | 
  virtual | 
Definition at line 223 of file peptidefragment.cpp.
References msp_peptide.
      
  | 
  overridevirtual | 
amino acid sequence without modification
Implements pappso::PeptideInterface.
Definition at line 120 of file peptidefragment.cpp.
References m_direction, m_size, msp_peptide, and pappso::Nter.
      
  | 
  overridevirtual | 
tells if the peptide sequence is a palindrome
Implements pappso::PeptideInterface.
Definition at line 246 of file peptidefragment.cpp.
References msp_peptide.
      
  | 
  overridevirtual | 
Implements pappso::PeptideInterface.
Definition at line 228 of file peptidefragment.cpp.
References m_size.
Referenced by PeptideFragment().
      
  | 
  private | 
Definition at line 73 of file peptidefragment.h.
Referenced by PeptideFragment(), PeptideFragment(), PeptideFragment(), getNumberOfAtom(), getNumberOfIsotope(), getPeptideIonDirection(), and getSequence().
      
  | 
  private | 
Definition at line 76 of file peptidefragment.h.
Referenced by PeptideFragment(), PeptideFragment(), PeptideFragment(), and getMass().
      
  | 
  private | 
Definition at line 74 of file peptidefragment.h.
Referenced by PeptideFragment(), PeptideFragment(), PeptideFragment(), getNumberOfAtom(), getNumberOfIsotope(), getSequence(), and size().
      
  | 
  private | 
Definition at line 72 of file peptidefragment.h.
Referenced by PeptideFragment(), PeptideFragment(), PeptideFragment(), getNumberOfAtom(), getNumberOfIsotope(), getPeptideSp(), getSequence(), and isPalindrome().