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< DoubleReal > &s)=0 |
| setter for spectrum More... | |
| virtual const std::vector < DoubleReal > & | getSpectrum ()=0 |
| getter for spectrum More... | |
| virtual void | setTolerance (DoubleReal t)=0 |
| setter for tolerance More... | |
| virtual DoubleReal | getTolerance ()=0 |
| getter for tolerance More... | |
| virtual bool | begin ()=0 |
| initializing iterator More... | |
| virtual bool | isAtEnd ()=0 |
| idicator 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, TrypticIterator, and EdwardsLippertIterator.
|
pure virtual |
getter for FASTA file
Implemented in FastaIteratorIntern, FastaIterator, EdwardsLippertIterator, and TrypticIterator.
|
pure virtual |
getter for spectrum
Implemented in TrypticIterator, EdwardsLippertIterator, FastaIteratorIntern, and FastaIterator.
|
pure virtual |
getter for tolerance
Implemented in FastaIteratorIntern, FastaIterator, TrypticIterator, and EdwardsLippertIterator.
|
pure virtual |
idicator where iterator is at end
Implemented in FastaIteratorIntern, FastaIterator, TrypticIterator, and EdwardsLippertIterator.
|
pure virtual |
* operator for accessing the value of the iterator
| InvalidIterator | if iterator has not been initialized |
Implemented in FastaIteratorIntern, FastaIterator, EdwardsLippertIterator, and TrypticIterator.
|
pure virtual |
operator ++ for pre-increment
| InvalidIterator | if iterator has not been initialized |
Implemented in FastaIteratorIntern, FastaIterator, EdwardsLippertIterator, and TrypticIterator.
|
pure virtual |
operator ++ for post-increment
| Exception::InvalidIterator | if iterator has not been initialized |
Implemented in FastaIteratorIntern, FastaIterator, EdwardsLippertIterator, 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, EdwardsLippertIterator, and TrypticIterator.
|
pure virtual |
setter for spectrum
| s | ms spectrum given as vector of DoubleReals |
| Exception::InvalidValue | if spectrum is not sorted acendingly |
Implemented in TrypticIterator, EdwardsLippertIterator, FastaIteratorIntern, and FastaIterator.
|
pure virtual |
setter for tolerance
| t | tolerance value |
| Exception::InvalidValue | if tolerance is negative |
Implemented in FastaIteratorIntern, FastaIterator, EdwardsLippertIterator, and TrypticIterator.
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:27 using doxygen 1.8.5 |