bpp-seq3  3.0.0
OSequenceStream.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_OSEQUENCESTREAM_H
6 #define BPP_SEQ_IO_OSEQUENCESTREAM_H
7 
8 #include <Bpp/Exceptions.h>
9 
10 #include "../Alphabet/Alphabet.h"
11 #include "../Sequence.h"
12 #include "IoSequenceStream.h"
13 
14 namespace bpp
15 {
23 template<class SequenceType>
25  public virtual IOSequenceStream
26 {
27 public:
30 
31 public:
41  virtual void writeSequence(std::ostream& output, const SequenceType& seq) const = 0;
42 };
43 
47 } // end of namespace bpp.
48 #endif // BPP_SEQ_IO_OSEQUENCESTREAM_H
The IOSequenceStream interface.
The OSequenceStream interface.
virtual void writeSequence(std::ostream &output, const SequenceType &seq) const =0
Read sequence from stream.
This alphabet is used to deal NumericAlphabet.