37 #include <OpenMS/config.h>
Class represents a decomposition of a mass into amino acids.
Definition: MassDecomposition.h:54
MassDecomposition operator+(const MassDecomposition &rhs) const
adds this decomposition and the decomposition given and returns a new composition
bool operator<(const MassDecomposition &rhs) const
less than predicate
String toString() const
returns the decomposition as a string
bool compatible(const MassDecomposition &deco) const
returns true if the mass decomposition if contained in this instance
bool operator==(const String &deco) const
equality operator
MassDecomposition()
default constructor
MassDecomposition(const MassDecomposition &deco)
copy constructor
Size number_of_max_aa_
Definition: MassDecomposition.h:113
bool containsTag(const String &tag) const
returns true if tag is contained in the mass decomposition
MassDecomposition & operator=(const MassDecomposition &rhs)
assignment operator
std::map< char, Size > decomp_
Definition: MassDecomposition.h:112
MassDecomposition(const String &deco)
constructor with String as parameter
MassDecomposition & operator+=(const MassDecomposition &d)
adds the mass decomposition d to this object
String toExpandedString() const
returns the decomposition as a string; instead of frequencies the amino acids are repeated
Size getNumberOfMaxAA() const
returns the max frequency of this composition
A more convenient string class.
Definition: String.h:61
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47