38 : _peak(peak), _ion_sp(ion_sp), _charge(charge)
43 : _peak(other._peak), _ion_sp(other._ion_sp), _charge(other._charge)
48 : _peak(std::move(other._peak)), _ion_sp(other._ion_sp), _charge(std::move(other._charge))
88 return _ion_sp.get()->getPeptideIonType();
94 return _ion_sp.get()->getPeptideFragmentSp().get()->getPeptideIonDirection();
100 return QString(
"%1").arg(
_ion_sp.get()->getCompletePeptideIonName(
getCharge()));
PeptideFragmentIonSp _ion_sp
const DataPoint & getPeak() const
virtual const PeptideFragmentIonSp & getPeptideFragmentIonSp() const
virtual QString toString() const
Enums::PeptideIon getPeptideIonType() const
PeakIonMatch & operator=(const PeakIonMatch &other)
PeptideDirection getPeptideIonDirection() const
PeakIonMatch(const DataPoint &peak, const PeptideFragmentIonSp &ion_sp, unsigned int charge)
unsigned int getCharge() const
PeptideIon
Enums::PeptideIon enum defines all types of ions (Nter or Cter)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const PeptideFragmentIon > PeptideFragmentIonSp