Representation of a peptide/protein sequence.
Definition: AASequence.h:86
Representation of an amino acid residue.
Definition: Residue.h:37
ResidueType
Definition: Residue.h:126
@ Full
with N-terminus and C-terminus
Definition: Residue.h:127
Encapsulated weight queries to simplify mono vs average weight computation.
Definition: WeightWrapper.h:24
virtual ~WeightWrapper()
destructor
WEIGHTMODE weight_mode_
one of WeightWrapper::WEIGHTMODE's values
Definition: WeightWrapper.h:100
double getWeight(const EmpiricalFormula &ef) const
returns the weight of either mono or average value
WEIGHTMODE getWeightMode() const
Gets the weight mode (MONO or AVERAGE)
WeightWrapper(const WEIGHTMODE weight_mode)
constructor
void setWeightMode(const WEIGHTMODE mode)
Sets the weight mode (MONO or AVERAGE)
double getWeight(const AASequence &aa) const
returns the weight of either mono or average value
WEIGHTMODE
Definition: WeightWrapper.h:28
double getWeight(const Residue &r, Residue::ResidueType res_type=Residue::Full) const
returns the weight of either mono or average value
WeightWrapper(const WeightWrapper &source)
copy constructor
WeightWrapper()
constructor
@ AVERAGE
Definition: MetaData.h:50
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22