31 Fasta::Fasta() : Seq() {}
33 Fasta::Fasta (
const Seq & seq) :
Seq(seq)
37 Fasta::Fasta(
Seq && seq ) :
Seq(std::move(seq))
46 int ch = stream.peek();
47 if( stream.eof() ) {
return stream; }
50 throw std::runtime_error(
"Fasta.cc: error, file not in FASTA format");
55 std::getline(stream,name);
58 while(
char( ch = stream.peek() ) !=
'>' && ! stream.eof() )
60 std::getline(stream,temp);
std::ostream & print(std::ostream &s) const
Abstract interface to sequence objects.
The namespace in which this library resides.
std::istream & read(std::istream &s)
Declaration of Sequence::Fasta streams.