Abstract base class for different peptide iterators. More...
#include <OpenMS/CHEMISTRY/PepIterator.h>
Public Types | |
typedef std::pair< String, String > | FASTAEntry |
Public Member Functions | |
PepIterator () | |
constructor More... | |
virtual | ~PepIterator () |
destructor More... | |
PepIterator (const PepIterator &source) | |
copy constructor More... | |
virtual FASTAEntry | operator* ()=0 |
* operator for accessing the value of the iterator More... | |
virtual PepIterator & | operator++ ()=0 |
operator ++ for pre-increment More... | |
virtual PepIterator * | operator++ (int)=0 |
operator ++ for post-increment More... | |
virtual void | setFastaFile (const String &f)=0 |
setter for FASTA file More... | |
virtual String | getFastaFile ()=0 |
getter for FASTA file More... | |
virtual void | setSpectrum (const std::vector< double > &s)=0 |
setter for spectrum More... | |
virtual const std::vector< double > & | getSpectrum ()=0 |
getter for spectrum More... | |
virtual void | setTolerance (double t)=0 |
setter for tolerance More... | |
virtual double | getTolerance ()=0 |
getter for tolerance More... | |
virtual bool | begin ()=0 |
initializing iterator More... | |
virtual bool | isAtEnd ()=0 |
indicator where iterator is at end More... | |
Static Public Member Functions | |
static void | registerChildren () |
all children has to be registered here More... | |
Abstract base class for different peptide iterators.
typedef std::pair<String, String> FASTAEntry |
PepIterator | ( | ) |
constructor
|
virtual |
destructor
PepIterator | ( | const PepIterator & | source | ) |
copy constructor
|
pure virtual |
initializing iterator
Implemented in FastaIteratorIntern, FastaIterator, and TrypticIterator.
|
pure virtual |
getter for FASTA file
Implemented in FastaIteratorIntern, FastaIterator, and TrypticIterator.
|
pure virtual |
getter for spectrum
Implemented in TrypticIterator, FastaIteratorIntern, and FastaIterator.
|
pure virtual |
getter for tolerance
Implemented in FastaIteratorIntern, FastaIterator, and TrypticIterator.
|
pure virtual |
indicator where iterator is at end
Implemented in FastaIteratorIntern, FastaIterator, and TrypticIterator.
|
pure virtual |
* operator for accessing the value of the iterator
InvalidIterator | if iterator has not been initialized |
Implemented in FastaIteratorIntern, FastaIterator, and TrypticIterator.
|
pure virtual |
operator ++ for pre-increment
InvalidIterator | if iterator has not been initialized |
Implemented in FastaIteratorIntern, FastaIterator, and TrypticIterator.
|
pure virtual |
operator ++ for post-increment
Exception::InvalidIterator | if iterator has not been initialized |
Implemented in FastaIteratorIntern, FastaIterator, and TrypticIterator.
|
static |
all children has to be registered here
|
pure virtual |
setter for FASTA file
f | const String reference representing file location |
Exception::FileNotFound | |
Exception::ParseError |
Implemented in FastaIteratorIntern, FastaIterator, and TrypticIterator.
|
pure virtual |
setter for spectrum
s | ms spectrum given as vector of doubles |
Exception::InvalidValue | if spectrum is not sorted ascendingly |
Implemented in TrypticIterator, FastaIteratorIntern, and FastaIterator.
|
pure virtual |
setter for tolerance
t | tolerance value |
Exception::InvalidValue | if tolerance is negative |
Implemented in FastaIteratorIntern, FastaIterator, and TrypticIterator.
OpenMS / TOPP release 2.3.0 | Documentation generated on Tue Jan 9 2018 18:22:11 using doxygen 1.8.13 |