libsequence  1.9.5
fastq.hpp
Go to the documentation of this file.
1 
11 #ifndef __SEQUENCE_FASTQ_HPP__
12 #define __SEQUENCE_FASTQ_HPP__
13 
14 #include <Sequence/Seq.hpp>
15 
16 namespace Sequence
17  {
18  class fastq : public Seq
19  {
20  public:
21  std::string quality;
22  private:
23  bool repeat_name;
24  public:
25  using Seq::Seq;
26  fastq(void);
27  fastq (const std::string &name, const std::string &seq,
28  const std::string & qual);
29  fastq (std::string && name, std::string && seq,
30  std::string && qual);
32  fastq (const Seq & s);
33  fastq (const fastq & s) = default;
34  fastq ( fastq && s) = default;
36  fastq ( Seq && s);
37  fastq & operator=(const fastq & ) = default;
38  fastq & operator=( fastq && ) = default;
39  ~fastq() {}
40 
42  void repname(const bool &);
50  std::istream & read(std::istream &s);
55  std::ostream & print(std::ostream& s) const;
56  };
57 }
58 
59 #endif
60 
std::ostream & print(std::ostream &s) const
Definition: fastq.cc:66
void repname(const bool &)
Set to true or false for repeating the seq name on third line of output.
Definition: fastq.cc:32
class Sequence::Seq, an abstract base class for Sequences
Abstract interface to sequence objects.
Definition: Seq.hpp:46
The namespace in which this library resides.
std::istream & read(std::istream &s)
Definition: fastq.cc:38
Seq(void)
Definition: Seq.cc:32