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 | |
| virtual | ~PepIterator () |
| destructor | |
| PepIterator (const PepIterator &source) | |
| copy constructor | |
| virtual FASTAEntry | operator* ()=0 |
| * operator for accessing the value of the iterator | |
| virtual PepIterator & | operator++ ()=0 |
| operator ++ for pre-increment | |
| virtual PepIterator * | operator++ (int)=0 |
| operator ++ for post-increment | |
| virtual void | setFastaFile (const String &f)=0 |
| setter for FASTA file | |
| virtual String | getFastaFile ()=0 |
| getter for FASTA file | |
| virtual void | setSpectrum (const std::vector< DoubleReal > &s)=0 |
| setter for spectrum | |
| virtual const std::vector < DoubleReal > & | getSpectrum ()=0 |
| getter for spectrum | |
| virtual void | setTolerance (DoubleReal t)=0 |
| setter for tolerance | |
| virtual DoubleReal | getTolerance ()=0 |
| getter for tolerance | |
| virtual bool | begin ()=0 |
| initializing iterator | |
| virtual bool | isAtEnd ()=0 |
| idicator where iterator is at end | |
Static Public Member Functions | |
| static void | registerChildren () |
| all children has to be registered here | |
Abstract base class for different peptide iterators.
| typedef std::pair<String, String> FASTAEntry |
Reimplemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| PepIterator | ( | ) |
constructor
| virtual ~PepIterator | ( | ) | [virtual] |
destructor
| PepIterator | ( | const PepIterator & | source | ) |
copy constructor
| virtual bool begin | ( | ) | [pure virtual] |
initializing iterator
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| virtual String getFastaFile | ( | ) | [pure virtual] |
getter for FASTA file
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| virtual const std::vector<DoubleReal>& getSpectrum | ( | ) | [pure virtual] |
getter for spectrum
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| virtual DoubleReal getTolerance | ( | ) | [pure virtual] |
getter for tolerance
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| virtual bool isAtEnd | ( | ) | [pure virtual] |
idicator where iterator is at end
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| virtual FASTAEntry operator* | ( | ) | [pure virtual] |
* operator for accessing the value of the iterator
| InvalidIterator | if iterator has not been initialized |
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| virtual PepIterator& operator++ | ( | ) | [pure virtual] |
operator ++ for pre-increment
| InvalidIterator | if iterator has not been initialized |
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| virtual PepIterator* operator++ | ( | int | ) | [pure virtual] |
operator ++ for post-increment
| Exception::InvalidIterator | if iterator has not been initialized |
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| static void registerChildren | ( | ) | [static] |
all children has to be registered here
| virtual void setFastaFile | ( | const String & | f | ) | [pure virtual] |
setter for FASTA file
| f | const String reference representing file location |
| Exception::FileNotFound | ||
| Exception::ParseError |
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| virtual void setSpectrum | ( | const std::vector< DoubleReal > & | s | ) | [pure virtual] |
setter for spectrum
| s | ms spectrum given as vector of DoubleReals |
| Exception::InvalidValue | if spectrum is not sorted acendingly |
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| virtual void setTolerance | ( | DoubleReal | t | ) | [pure virtual] |
setter for tolerance
| t | tolerance value |
| Exception::InvalidValue | if tolerance is negative |
Implemented in EdwardsLippertIterator, TrypticIterator, FastaIterator, and FastaIteratorIntern.
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:50 using doxygen 1.7.1 |