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