36 #ifndef OPENMS_FORMAT_FASTAITERATOR_H 37 #define OPENMS_FORMAT_FASTAITERATOR_H 98 virtual void setFastaFile(
const String & f);
104 virtual String getFastaFile();
152 virtual bool begin();
158 virtual bool isAtEnd();
166 return "FastaIterator";
183 virtual std::string next_();
211 #endif // OPENMS_FORMAT_FASTAITERATOR_H virtual double getTolerance()
getter for tolerance
Definition: FastaIterator.h:142
A more convenient string class.
Definition: String.h:57
Abstract base class for different peptide iterators.
Definition: PepIterator.h:48
virtual void setTolerance(double)
setter for tolerance
Definition: FastaIterator.h:131
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
bool is_at_end_
bool indicated whether iterator is at end
Definition: FastaIterator.h:185
virtual void setSpectrum(const std::vector< double > &)
setter for spectrum
Definition: FastaIterator.h:111
std::string actual_seq_
actual sequence
Definition: FastaIterator.h:191
std::string last_header_
last fasta header
Definition: FastaIterator.h:195
String fasta_file_
fasta file location
Definition: FastaIterator.h:189
virtual const std::vector< double > & getSpectrum()
getter for spectrum
Definition: FastaIterator.h:121
Iterator over FASTA file.
Definition: FastaIterator.h:53
DPosition< D, TCoordinateType > operator*(DPosition< D, TCoordinateType > position, typename DPosition< D, TCoordinateType >::CoordinateType scalar)
Scalar multiplication (a bit inefficient)
Definition: DPosition.h:421
std::ifstream input_file_
input file
Definition: FastaIterator.h:187
std::pair< String, String > FASTAEntry
Definition: FastaIterator.h:59
std::string header_
actual fasta header
Definition: FastaIterator.h:193
Not implemented exception.
Definition: Exception.h:437
static PepIterator * create()
needed by Factory
Definition: FastaIterator.h:173
static const String getProductName()
needed by Factory
Definition: FastaIterator.h:164