![]() |
OpenMS
|
Base class for digestion enzymes. More...
#include <OpenMS/CHEMISTRY/DigestionEnzyme.h>
Public Member Functions | |
Constructors | |
| DigestionEnzyme (const DigestionEnzyme &)=default | |
| Copy constructor. More... | |
| DigestionEnzyme (DigestionEnzyme &&)=default | |
| Move constructor. More... | |
| DigestionEnzyme (const String &name, const String &cleavage_regex, const std::set< String > &synonyms=std::set< String >(), String regex_description="") | |
| Detailed constructor. More... | |
| 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. More... | |
| virtual | ~DigestionEnzyme () |
| Destructor. More... | |
Assignment | |
| DigestionEnzyme & | operator= (const DigestionEnzyme &)=default |
| Assignment operator. More... | |
| DigestionEnzyme & | operator= (DigestionEnzyme &&) &=default |
| Move assignment operator. More... | |
| void | setName (const String &name) |
| sets the name of the enzyme More... | |
| const String & | getName () const |
| returns the name of the enzyme More... | |
| void | setSynonyms (const std::set< String > &synonyms) |
| sets the synonyms More... | |
| void | addSynonym (const String &synonym) |
| adds a synonym More... | |
| const std::set< String > & | getSynonyms () const |
| returns the synonyms More... | |
| void | setRegEx (const String &cleavage_regex) |
| sets the cleavage regex More... | |
| const String & | getRegEx () const |
| returns the cleavage regex More... | |
| void | setRegExDescription (const String &value) |
| sets the regex description More... | |
| const String & | getRegExDescription () const |
| returns the regex description More... | |
Predicates | |
| String | name_ |
| String | cleavage_regex_ |
| std::set< String > | synonyms_ |
| String | regex_description_ |
| bool | operator== (const DigestionEnzyme &enzyme) const |
| equality operator More... | |
| bool | operator!= (const DigestionEnzyme &enzyme) const |
| inequality operator More... | |
| bool | operator== (const String &cleavage_regex) const |
| equality operator for regex More... | |
| bool | operator!= (const String &cleavage_regex) const |
| equality operator for regex More... | |
| bool | operator< (const DigestionEnzyme &enzyme) const |
| order operator More... | |
| virtual bool | setValueFromFile (const String &key, const String &value) |
| Set the value of a member variable based on an entry from an input file. More... | |
| std::ostream & | operator<< (std::ostream &os, const DigestionEnzyme &enzyme) |
| ostream iterator to write the enzyme to a stream More... | |
| DigestionEnzyme () | |
| default constructor More... | |
Base class for digestion enzymes.
|
default |
Copy constructor.
|
default |
Move constructor.
|
explicit |
Detailed constructor.
|
explicit |
Detailed constructor 2.
|
virtual |
Destructor.
|
protected |
default constructor
| void addSynonym | ( | const String & | synonym | ) |
adds a synonym
| const String& getName | ( | ) | const |
returns the name of the enzyme
| const String& getRegEx | ( | ) | const |
returns the cleavage regex
| const String& getRegExDescription | ( | ) | const |
returns the regex description
| const std::set<String>& getSynonyms | ( | ) | const |
returns the synonyms
| bool operator!= | ( | const DigestionEnzyme & | enzyme | ) | const |
inequality operator
| bool operator!= | ( | const String & | cleavage_regex | ) | const |
equality operator for regex
| bool operator< | ( | const DigestionEnzyme & | enzyme | ) | const |
order operator
|
default |
Assignment operator.
|
default |
Move assignment operator.
| bool operator== | ( | const DigestionEnzyme & | enzyme | ) | const |
equality operator
| bool operator== | ( | const String & | cleavage_regex | ) | const |
equality operator for regex
| void setName | ( | const String & | name | ) |
sets the name of the enzyme
Accessors
| void setRegEx | ( | const String & | cleavage_regex | ) |
sets the cleavage regex
| void setRegExDescription | ( | const String & | value | ) |
sets the regex description
| void setSynonyms | ( | const std::set< String > & | synonyms | ) |
sets the synonyms
Set the value of a member variable based on an entry from an input file.
Returns whether the key was recognized and the value set successfully.
Reimplemented in DigestionEnzymeRNA, and DigestionEnzymeProtein.
|
friend |
ostream iterator to write the enzyme to a stream
|
protected |
|
protected |
|
protected |
|
protected |