67 const String& cleavage_regex,
68 const std::set<String>& synonyms = std::set<String>(),
69 String regex_description =
"");
74 const String& nocut_after =
"",
76 const std::set<String>& synonyms = std::set<String>(),
77 String regex_description =
"");
Base class for digestion enzymes.
Definition: DigestionEnzyme.h:53
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:165
String name_
Definition: DigestionEnzyme.h:159
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:163
String cleavage_regex_
Definition: DigestionEnzyme.h:161
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:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)