CycloBranch
|
The class representing a sequence. More...
#include <cSequence.h>
Public Member Functions | |
cSequence () | |
The constructor. | |
void | clear () |
Clear the structure. | |
void | store (ofstream &os) |
Store the structure into an output stream. More... | |
void | load (ifstream &is, int fileversionpart1, int fileversionpart2, int fileversionpart3) |
Load the structure from an input stream. More... | |
ePeptideType | getPeptideType () |
Get peptide type. More... | |
string & | getSequence () |
Get sequence. More... | |
string & | getName () |
Get name. More... | |
double | getMinimumRetentionTime () |
Get minimum retention time. More... | |
double | getMaximumRetentionTime () |
Get maximum retention time. More... | |
string & | getReference () |
Get reference. More... | |
void | setPeptideType (ePeptideType peptidetype) |
Set peptide type. More... | |
void | setSequence (const string &sequence) |
Set sequence. More... | |
void | setName (const string &name) |
Set name. More... | |
void | setRetentionTime (double rtmin, double rtmax) |
Set retention time. More... | |
void | setReference (const string &reference) |
Set reference. More... | |
void | setNTterminalModification (const string &modification) |
Set N-terminal modification. More... | |
void | setCTterminalModification (const string &modification) |
Set C-terminal modification. More... | |
void | setBranchModification (const string &modification) |
Set branch modification. More... | |
string & | getNTterminalModification () |
Get N-terminal modification. More... | |
string & | getCTterminalModification () |
Get C-terminal modification. More... | |
string & | getBranchModification () |
Get branch modification. More... | |
string | getNameWithReferenceAsHTMLString () |
Get name of sequence as a HTML link to sequence reference. More... | |
void | setSummaryFormula (const string &formula) |
Set the summary formula. More... | |
string | getSummaryFormula () |
Get the summary formula. More... | |
bool | isDecoy () |
Check if sequence/compound is decoy. More... | |
void | setDecoy (bool decoy) |
Set decoy flag. More... | |
The class representing a sequence.
string & cSequence::getBranchModification | ( | ) |
Get branch modification.
string | name of a branch modification |
string & cSequence::getCTterminalModification | ( | ) |
Get C-terminal modification.
string | name of C-terminal modification |
double cSequence::getMaximumRetentionTime | ( | ) |
Get maximum retention time.
double | maximum retention time |
double cSequence::getMinimumRetentionTime | ( | ) |
Get minimum retention time.
double | minimum retention time |
string & cSequence::getName | ( | ) |
Get name.
string | name |
string cSequence::getNameWithReferenceAsHTMLString | ( | ) |
Get name of sequence as a HTML link to sequence reference.
string | HTML link |
string & cSequence::getNTterminalModification | ( | ) |
Get N-terminal modification.
string | name of N-terminal modification |
ePeptideType cSequence::getPeptideType | ( | ) |
Get peptide type.
ePeptideType | peptide type |
string & cSequence::getReference | ( | ) |
Get reference.
string | reference |
string & cSequence::getSequence | ( | ) |
Get sequence.
string | sequence |
string cSequence::getSummaryFormula | ( | ) |
Get the summary formula.
string | summary formula |
bool cSequence::isDecoy | ( | ) |
Check if sequence/compound is decoy.
bool | true if sequence is decoy, false otherwise |
void cSequence::load | ( | ifstream & | is, |
int | fileversionpart1, | ||
int | fileversionpart2, | ||
int | fileversionpart3 | ||
) |
Load the structure from an input stream.
is | an input stream |
fileversionpart1 | first number of .res the file version |
fileversionpart2 | second number of .res the file version |
fileversionpart3 | third number of .res the file version |
void cSequence::setBranchModification | ( | const string & | modification | ) |
Set branch modification.
modification | name of a branch modification |
void cSequence::setCTterminalModification | ( | const string & | modification | ) |
Set C-terminal modification.
modification | name of a C-terminal modification |
void cSequence::setDecoy | ( | bool | decoy | ) |
Set decoy flag.
decoy | true if sequence is decoy, false otherwise |
void cSequence::setName | ( | const string & | name | ) |
Set name.
name | name |
void cSequence::setNTterminalModification | ( | const string & | modification | ) |
Set N-terminal modification.
modification | name of an N-terminal modification |
void cSequence::setPeptideType | ( | ePeptideType | peptidetype | ) |
Set peptide type.
peptidetype | peptide type |
void cSequence::setReference | ( | const string & | reference | ) |
Set reference.
reference | reference |
void cSequence::setRetentionTime | ( | double | rtmin, |
double | rtmax | ||
) |
Set retention time.
rtmin | minimum retention time |
rtmax | maximum retention time |
void cSequence::setSequence | ( | const string & | sequence | ) |
Set sequence.
sequence | sequence |
void cSequence::setSummaryFormula | ( | const string & | formula | ) |
Set the summary formula.
formula | summary formula |
void cSequence::store | ( | ofstream & | os | ) |
Store the structure into an output stream.
os | an output stream |