Iterator for a FASTA file. More...
#include <OpenMS/FORMAT/FastaIteratorIntern.h>
Public Types | |
| typedef std::pair< String, String > | FASTAEntry |
Public Types inherited from PepIterator | |
| typedef std::pair< String, String > | FASTAEntry |
Public Member Functions | |
| FastaIteratorIntern () | |
| constructor More... | |
| FastaIteratorIntern (const FastaIteratorIntern &) | |
| copy constructor More... | |
| virtual | ~FastaIteratorIntern () |
| constructor More... | |
| virtual FASTAEntry | operator* () |
| * Operator for derefering of iterator More... | |
| virtual PepIterator & | operator++ () |
| ++ Operator for the iterator More... | |
| virtual PepIterator * | operator++ (int i) |
| ++ Operator for the iterator More... | |
| virtual void | setFastaFile (const String &f) |
| setter for FASTA file More... | |
| virtual String | getFastaFile () |
| getter for FASTA file More... | |
| virtual void | setSpectrum (const std::vector< DoubleReal > &) |
| setter for spectrum More... | |
| virtual const std::vector < DoubleReal > & | getSpectrum () |
| getter for spectrum More... | |
| virtual void | setTolerance (DoubleReal) |
| setter for tolerance More... | |
| virtual DoubleReal | getTolerance () |
| getter for tolerance More... | |
| virtual bool | begin () |
| initializing of iterator More... | |
| virtual bool | isAtEnd () |
| indicates whether iterator is at end More... | |
Public Member Functions inherited from PepIterator | |
| PepIterator () | |
| constructor More... | |
| virtual | ~PepIterator () |
| destructor More... | |
| PepIterator (const PepIterator &source) | |
| copy constructor More... | |
Static Public Member Functions | |
| static const std::string | getProductName () |
| needed by Factory More... | |
| static PepIterator * | create () |
| needed by Factory More... | |
Static Public Member Functions inherited from PepIterator | |
| static void | registerChildren () |
| all children has to be registered here More... | |
Protected Attributes | |
| String | fasta_file_ |
| location of the fasta file More... | |
| std::vector< FASTAEntry > | entrys_ |
| content of fasta file More... | |
| std::vector< FASTAEntry >::iterator | it_ |
| iterator over fasta file content More... | |
Iterator for a FASTA file.
In comparision to FastaIterator the FASTA file will be loaded first and stored to RAM, while the FastaIterator just iterates over the FASTA file without loading it completly to memory.
| typedef std::pair<String, String> FASTAEntry |
constructor
| FastaIteratorIntern | ( | const FastaIteratorIntern & | ) |
copy constructor
|
virtual |
constructor
|
virtual |
initializing of iterator
| Exception::InvalidIterator | if fastaFile was not set |
Implements PepIterator.
|
inlinestatic |
needed by Factory
|
virtual |
|
inlinestatic |
needed by Factory
|
inlinevirtual |
getter for spectrum
| Exception::NotImplemented |
Implements PepIterator.
|
inlinevirtual |
getter for tolerance
| Exception::NotImplemented |
Implements PepIterator.
|
virtual |
indicates whether iterator is at end
Implements PepIterator.
|
virtual |
* Operator for derefering of iterator
| Exception::InvalidIterator | if iterator has not been initialized |
Implements PepIterator.
|
virtual |
++ Operator for the iterator
| Exception::InvalidIterator | if iterator has not been initialized |
Implements PepIterator.
|
virtual |
++ Operator for the iterator
| Exception::InvalidIterator | if iterator has not been initialized |
Implements PepIterator.
|
virtual |
setter for FASTA file
| f | const String reference representing file location |
| Exception::FileNotFound | |
| Exception::ParseError |
Implements PepIterator.
|
inlinevirtual |
setter for spectrum
| Exception::NotImplemented |
Implements PepIterator.
|
inlinevirtual |
setter for tolerance
| Exception::NotImplemented |
Implements PepIterator.
|
protected |
content of fasta file
|
protected |
location of the fasta file
|
protected |
iterator over fasta file content
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:30 using doxygen 1.8.5 |