41 const String& cleavage_regex,
42 const std::set<String>& synonyms = std::set<String>(),
43 String regex_description =
"");
48 const String& nocut_after =
"",
50 const std::set<String>& synonyms = std::set<String>(),
51 String regex_description =
"");
Base class for digestion enzymes.
Definition: DigestionEnzyme.h:27
bool operator<(const DigestionEnzyme &enzyme) const
order operator
virtual ~DigestionEnzyme()
Destructor.
bool operator==(const String &cleavage_regex) const
equality operator for regex
bool operator!=(const DigestionEnzyme &enzyme) const
inequality operator
DigestionEnzyme & operator=(DigestionEnzyme &&) &=default
Move assignment operator.
bool operator==(const DigestionEnzyme &enzyme) const
equality operator
String regex_description_
Definition: DigestionEnzyme.h:139
String name_
Definition: DigestionEnzyme.h:133
DigestionEnzyme(const DigestionEnzyme &)=default
Copy constructor.
void setSynonyms(const std::set< String > &synonyms)
sets the synonyms
void setRegExDescription(const String &value)
sets the regex description
DigestionEnzyme(const String &name, String cut_before, const String &nocut_after="", String sense="C", const std::set< String > &synonyms=std::set< String >(), String regex_description="")
Detailed constructor 2.
const String & getRegEx() const
returns the cleavage regex
friend std::ostream & operator<<(std::ostream &os, const DigestionEnzyme &enzyme)
ostream iterator to write the enzyme to a stream
void setName(const String &name)
sets the name of the enzyme
const String & getRegExDescription() const
returns the regex description
const std::set< String > & getSynonyms() const
returns the synonyms
DigestionEnzyme(const String &name, const String &cleavage_regex, const std::set< String > &synonyms=std::set< String >(), String regex_description="")
Detailed constructor.
virtual bool setValueFromFile(const String &key, const String &value)
Set the value of a member variable based on an entry from an input file.
const String & getName() const
returns the name of the enzyme
DigestionEnzyme & operator=(const DigestionEnzyme &)=default
Assignment operator.
std::set< String > synonyms_
Definition: DigestionEnzyme.h:137
String cleavage_regex_
Definition: DigestionEnzyme.h:135
DigestionEnzyme()
default constructor
bool operator!=(const String &cleavage_regex) const
equality operator for regex
DigestionEnzyme(DigestionEnzyme &&)=default
Move constructor.
void addSynonym(const String &synonym)
adds a synonym
void setRegEx(const String &cleavage_regex)
sets the cleavage regex
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)