Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Protected Member Functions | Protected Attributes | Friends | List of all members
Enzyme Class Reference

Representation of an enzyme. More...

#include <OpenMS/CHEMISTRY/Enzyme.h>

Public Member Functions

Constructors
 Enzyme (const Enzyme &enzyme)
 copy constructor More...
 
 Enzyme (const String &name, const String &cleavage_regex, const std::set< String > &synonyms=std::set< String >(), String regex_description="", EmpiricalFormula n_term_gain=EmpiricalFormula("H"), EmpiricalFormula c_term_gain=EmpiricalFormula("OH"), String psi_id="", String xtandem_id="", UInt omssa_id=0)
 detailed constructor More...
 
virtual ~Enzyme ()
 destructor More...
 
Assignment
Enzyme & operator= (const Enzyme &enzyme)
 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 name as regex More...
 
const String & getRegEx () const
 returns the name as regex More...
 
void setRegExDescription (String value)
 sets the regex description More...
 
String getRegExDescription () const
 returns the regex description More...
 
void setNTermGain (EmpiricalFormula value)
 sets the N-terminal gain More...
 
EmpiricalFormula getNTermGain () const
 returns N-terminal gain More...
 
void setCTermGain (EmpiricalFormula value)
 sets the C-terminal gain More...
 
EmpiricalFormula getCTermGain () const
 returns C-terminal gain More...
 
void setPSIid (String value)
 sets the PSI id More...
 
String getPSIid () const
 returns the PSI id More...
 
void setXTANDEMid (String value)
 sets the XTANDEM enzyme id More...
 
String getXTANDEMid () const
 returns the XTANDEM enzyme id More...
 
void setOMSSAid (UInt value)
 sets the OMSSA enzyme id More...
 
UInt getOMSSAid () const
 returns the OMSSA enzyme id More...
 
Predicates
bool operator== (const Enzyme &enzyme) const
 equality operator More...
 
bool operator!= (const Enzyme &enzyme) const
 inequality operator More...
 
bool operator== (String cleavage_regex) const
 equality operator for regex More...
 
bool operator!= (String cleavage_regex) const
 equality operator for regex More...
 
bool operator< (const Enzyme &enzyme) const
 order operator More...
 

Protected Member Functions

 Enzyme ()
 default constructor More...
 

Protected Attributes

String name_
 
String cleavage_regex_
 
std::set< String > synonyms_
 
String regex_description_
 
EmpiricalFormula n_term_gain_
 
EmpiricalFormula c_term_gain_
 
String psi_id_
 
String xtandem_id_
 
UInt omssa_id_
 

Friends

std::ostream & operator<< (std::ostream &os, const Enzyme &enzyme)
 ostream iterator to write the enzyme to a stream More...
 

Detailed Description

Representation of an enzyme.

This class represents enzymes.

Constructor & Destructor Documentation

Enzyme ( const Enzyme &  enzyme)

copy constructor

Enzyme ( const String &  name,
const String &  cleavage_regex,
const std::set< String > &  synonyms = std::set< String >(),
String  regex_description = "",
EmpiricalFormula  n_term_gain = EmpiricalFormula("H"),
EmpiricalFormula  c_term_gain = EmpiricalFormula("OH"),
String  psi_id = "",
String  xtandem_id = "",
UInt  omssa_id = 0 
)
explicit

detailed constructor

virtual ~Enzyme ( )
virtual

destructor

Enzyme ( )
protected

default constructor

Member Function Documentation

void addSynonym ( const String &  synonym)

adds a synonym

EmpiricalFormula getCTermGain ( ) const

returns C-terminal gain

const String& getName ( ) const

returns the name of the enzyme

EmpiricalFormula getNTermGain ( ) const

returns N-terminal gain

UInt getOMSSAid ( ) const

returns the OMSSA enzyme id

String getPSIid ( ) const

returns the PSI id

const String& getRegEx ( ) const

returns the name as regex

String getRegExDescription ( ) const

returns the regex description

const std::set<String>& getSynonyms ( ) const

returns the synonyms

String getXTANDEMid ( ) const

returns the XTANDEM enzyme id

bool operator!= ( const Enzyme &  enzyme) const

inequality operator

bool operator!= ( String  cleavage_regex) const

equality operator for regex

bool operator< ( const Enzyme &  enzyme) const

order operator

Enzyme& operator= ( const Enzyme &  enzyme)

assignment operator

bool operator== ( const Enzyme &  enzyme) const

equality operator

bool operator== ( String  cleavage_regex) const

equality operator for regex

void setCTermGain ( EmpiricalFormula  value)

sets the C-terminal gain

void setName ( const String &  name)

sets the name of the enzyme

Accessors

void setNTermGain ( EmpiricalFormula  value)

sets the N-terminal gain

void setOMSSAid ( UInt  value)

sets the OMSSA enzyme id

void setPSIid ( String  value)

sets the PSI id

void setRegEx ( const String &  cleavage_regex)

sets the name as regex

void setRegExDescription ( String  value)

sets the regex description

void setSynonyms ( const std::set< String > &  synonyms)

sets the synonyms

void setXTANDEMid ( String  value)

sets the XTANDEM enzyme id

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Enzyme &  enzyme 
)
friend

ostream iterator to write the enzyme to a stream

Member Data Documentation

EmpiricalFormula c_term_gain_
protected
String cleavage_regex_
protected
EmpiricalFormula n_term_gain_
protected
String name_
protected
UInt omssa_id_
protected
String psi_id_
protected
String regex_description_
protected
std::set<String> synonyms_
protected
String xtandem_id_
protected

OpenMS / TOPP release 2.0.0 Documentation generated on Tue Jan 31 2017 06:40:16 using doxygen 1.8.8