Representation of a peptide/protein sequence.
Definition: AASequence.h:112
Representation of an amino acid residue.
Definition: Residue.h:63
ResidueType
Definition: Residue.h:152
@ Full
with N-terminus and C-terminus
Definition: Residue.h:153
Encapsulated weight queries to simplify mono vs average weight computation.
Definition: WeightWrapper.h:50
virtual ~WeightWrapper()
destructor
WEIGHTMODE weight_mode_
one of WeightWrapper::WEIGHTMODE's values
Definition: WeightWrapper.h:126
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:54
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:76
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48