| 
    libpappsomspp
    
   Library for mass spectrometry 
   | 
 
#include <aa.h>
  
Public Member Functions | |
| Aa (char aa_letter) | |
| Aa (Enums::AminoAcidChar aa_char) | |
| Aa (const Aa &aa) | |
| Aa (Aa &&toCopy) | |
| Aa & | operator= (const Aa &toCopy) | 
| virtual | ~Aa () | 
| pappso_double | getMass () const override | 
| int | getNumberOfAtom (Enums::AtomIsotopeSurvey atom) const override final | 
| get the number of atom C, O, N, H in the molecule   | |
| int | getNumberOfIsotope (Enums::Isotope isotope) const override final | 
| get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule   | |
| unsigned int | getNumberOfModification (AaModificationP mod) const | 
| const QString | toString () const | 
| const QString | toAbsoluteString () const | 
| const QString | toProForma () const | 
| get the amino acid in ProForma notation https://github.com/HUPO-PSI/ProForma/blob/master/README.md   | |
| void | addAaModification (AaModificationP aaModification) | 
| void | removeAaModification (AaModificationP aaModification) | 
| void | replaceAaModification (AaModificationP oldmod, AaModificationP newmod) | 
| replaces all occurences of a modification by a new one   | |
| void | removeAllButInternalModification () | 
| remove all non internal modifications   | |
| const std::vector< AaModificationP > & | getModificationList () const | 
| double | getTotalModificationMass () const | 
| get the sum of mass modifications   | |
| bool | isLesser (Aa const &r) const | 
| bool | isAaEqual (Aa const &r) const | 
  Public Member Functions inherited from pappso::AaBase | |
| virtual const char & | getLetter () const | 
| const Enums::AminoAcidChar & | getAminoAcidChar () const | 
| virtual void | replaceLeucineIsoleucine () | 
  Public Member Functions inherited from pappso::AtomNumberInterface | |
| virtual const ChemicalFormula | getChemicalFormula () const | 
Private Attributes | |
| std::vector< AaModificationP > | m_listMod | 
Additional Inherited Members | |
  Static Public Member Functions inherited from pappso::AaBase | |
| static const std::vector< Enums::AminoAcidChar > & | getAminoAcidCharList () | 
  Protected Member Functions inherited from pappso::AaBase | |
| AaBase (char aa_letter) | |
| AaBase (Enums::AminoAcidChar aa_char) | |
| AaBase (const AaBase &aabase) | |
| virtual | ~AaBase () | 
| int | getNumberOfIsotope (Enums::Isotope isotope) const override | 
| get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule   | |
  Static Protected Member Functions inherited from pappso::AaBase | |
| static pappso_double | getAaMass (char aa_letter) | 
  Protected Attributes inherited from pappso::AaBase | |
| char | m_aaLetter | 
| pappso::Aa::Aa | ( | char | aa_letter | ) | 
Definition at line 41 of file aa.cpp.
References pappso::AaBase::AaBase().
Referenced by Aa(), Aa(), isAaEqual(), isLesser(), and operator=().
| pappso::Aa::Aa | ( | Enums::AminoAcidChar | aa_char | ) | 
Definition at line 46 of file aa.cpp.
References pappso::AaBase::AaBase().
| pappso::Aa::Aa | ( | const Aa & | aa | ) | 
Definition at line 50 of file aa.cpp.
References Aa(), pappso::AaBase::AaBase(), and m_listMod.
| pappso::Aa::Aa | ( | Aa && | toCopy | ) | 
| void pappso::Aa::addAaModification | ( | AaModificationP | aaModification | ) | 
      
  | 
  overridevirtual | 
Reimplemented from pappso::AaBase.
Definition at line 90 of file aa.cpp.
References pappso::AaBase::getMass(), and m_listMod.
Referenced by pappso::specglob::PeptideModel::checkForMutation(), pappso::AaModification::createInstanceMutation(), and pappso::specglob::PeptideModel::ltrimOnRemoval().
| const std::vector< AaModificationP > & pappso::Aa::getModificationList | ( | ) | const | 
Definition at line 73 of file aa.cpp.
References m_listMod.
Referenced by pappso::specglob::PeptideModel::checkForAaModification(), and pappso::specglob::PeptideModel::checkForMutation().
      
  | 
  finaloverridevirtual | 
get the number of atom C, O, N, H in the molecule
Reimplemented from pappso::AaBase.
Definition at line 206 of file aa.cpp.
References pappso::AaBase::getNumberOfAtom(), and m_listMod.
Referenced by pappso::AaModification::createInstanceMutation().
      
  | 
  finaloverridevirtual | 
get the number of isotopes C13, H2, O17, O18, N15, S33, S34, S36 in the molecule
Implements pappso::AtomNumberInterface.
Definition at line 220 of file aa.cpp.
References m_listMod.
| unsigned int pappso::Aa::getNumberOfModification | ( | AaModificationP | mod | ) | const | 
Definition at line 233 of file aa.cpp.
References m_listMod.
Referenced by pappso::PeptideModificatorBase::getModificationPositionList().
| double pappso::Aa::getTotalModificationMass | ( | ) | const | 
get the sum of mass modifications
Definition at line 79 of file aa.cpp.
References m_listMod.
Referenced by pappso::specglob::PeptideModel::checkForAaModification().
| bool pappso::Aa::isAaEqual | ( | Aa const & | r | ) | const | 
Definition at line 279 of file aa.cpp.
References Aa(), pappso::AaBase::m_aaLetter, and m_listMod.
Referenced by pappso::operator==().
| bool pappso::Aa::isLesser | ( | Aa const & | r | ) | const | 
Definition at line 254 of file aa.cpp.
References Aa(), pappso::a, pappso::b, pappso::AaBase::m_aaLetter, and m_listMod.
Referenced by pappso::operator<().
Definition at line 65 of file aa.cpp.
References Aa(), pappso::AaBase::m_aaLetter, and m_listMod.
| void pappso::Aa::removeAaModification | ( | AaModificationP | aaModification | ) | 
| void pappso::Aa::removeAllButInternalModification | ( | ) | 
| void pappso::Aa::replaceAaModification | ( | AaModificationP | oldmod, | 
| AaModificationP | newmod ) | 
| const QString pappso::Aa::toAbsoluteString | ( | ) | const | 
Definition at line 104 of file aa.cpp.
References pappso::AaBase::getLetter(), and m_listMod.
| const QString pappso::Aa::toProForma | ( | ) | const | 
get the amino acid in ProForma notation https://github.com/HUPO-PSI/ProForma/blob/master/README.md
Definition at line 147 of file aa.cpp.
References pappso::a, pappso::b, pappso::AaBase::getLetter(), and m_listMod.
| const QString pappso::Aa::toString | ( | ) | const | 
Definition at line 124 of file aa.cpp.
References pappso::AaBase::getLetter(), and m_listMod.
      
  | 
  private | 
Definition at line 98 of file aa.h.
Referenced by Aa(), Aa(), addAaModification(), getMass(), getModificationList(), getNumberOfAtom(), getNumberOfIsotope(), getNumberOfModification(), getTotalModificationMass(), isAaEqual(), isLesser(), operator=(), removeAaModification(), removeAllButInternalModification(), replaceAaModification(), toAbsoluteString(), toProForma(), and toString().