Definition: ModificationDefinition.h:27
void setFixedModification(bool fixed)
sets whether this modification definition is fixed or variable (modification must occur vs....
UInt max_occurrences_
maximal number of occurrences per peptide
Definition: ModificationDefinition.h:107
ModificationDefinition(const String &mod, bool fixed=true, UInt max_occur=0)
detailed constructor specifying the modification by name
UInt getMaxOccurrences() const
returns the maximal number of occurrences per peptide
bool operator!=(const ModificationDefinition &rhs) const
inequality operator
ModificationDefinition()
default constructor
bool operator<(const OpenMS::ModificationDefinition &) const
less than operator for e.g. usage in maps; only mod FullIds are compared!
bool isFixedModification() const
returns if the modification if fixed true, else false
void setMaxOccurrences(UInt num)
set the maximal number of occurrences per peptide (unbounded if 0)
const ResidueModification & getModification() const
Returns the modification.
String getModificationName() const
returns the name of the modification
bool operator==(const ModificationDefinition &rhs) const
equality operator
virtual ~ModificationDefinition()
destructor
ModificationDefinition & operator=(const ModificationDefinition &element)
assignment operator
bool fixed_modification_
fixed (true) or variable (false)
Definition: ModificationDefinition.h:104
ModificationDefinition(const ModificationDefinition &rhs)
copy constructor
ModificationDefinition(const ResidueModification &mod, bool fixed=true, UInt max_occur=0)
direct constructor from a residue modification
void setModification(const String &modification)
sets the modification, allowed are unique names provided by ModificationsDB
const ResidueModification * mod_
the modification
Definition: ModificationDefinition.h:101
Representation of a modification on an amino acid residue.
Definition: ResidueModification.h:53
A more convenient string class.
Definition: String.h:34
unsigned int UInt
Unsigned integer type.
Definition: Types.h:64
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19