bpp-seq3  3.0.0
ISequenceStream.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: The Bio++ Development Group
2 //
3 // SPDX-License-Identifier: CECILL-2.1
4 
5 #ifndef BPP_SEQ_IO_ISEQUENCESTREAM_H
6 #define BPP_SEQ_IO_ISEQUENCESTREAM_H
7 
8 #include <Bpp/Exceptions.h>
9 
10 #include "../Alphabet/Alphabet.h"
11 #include "../Sequence.h"
12 #include "../SequenceWithQuality.h"
13 #include "../ProbabilisticSequence.h"
14 #include "IoSequenceStream.h"
15 
16 namespace bpp
17 {
25 template<class SequenceType>
27 {
28 public:
31 
32 public:
43  virtual bool nextSequence(std::istream& input, SequenceType& seq) const = 0;
44 };
45 
49 } // end of namespace bpp.
50 #endif // BPP_SEQ_IO_ISEQUENCESTREAM_H
The IOSequenceStream interface.
The ISequenceStream interface.
virtual bool nextSequence(std::istream &input, SequenceType &seq) const =0
Read sequence from stream.
This alphabet is used to deal NumericAlphabet.