bpp-seq3  3.0.0
IoSequence.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_IOSEQUENCE_H
6 #define BPP_SEQ_IO_IOSEQUENCE_H
7 
8 #include <Bpp/Exceptions.h>
9 #include <Bpp/Io/IoFormat.h>
10 
11 
12 // From STL:
13 #include <string>
14 
15 namespace bpp
16 {
22 class IOSequence : public virtual IOFormat
23 {
24 public:
26  virtual ~IOSequence() {}
27 
28 public:
29  const std::string getDataType() const { return "Sequence container"; }
30 };
31 
37 class IOProbabilisticSequence : public virtual IOFormat
38 {
39 public:
42 
43 public:
44  const std::string getDataType() const { return "Probabilistic sequence container"; }
45 };
46 } // end of namespace bpp.
47 #endif // BPP_SEQ_IO_IOSEQUENCE_H
The IOProbabislisticSequence interface.
Definition: IoSequence.h:38
virtual ~IOProbabilisticSequence()
Definition: IoSequence.h:41
const std::string getDataType() const
Definition: IoSequence.h:44
The IOSequence interface.
Definition: IoSequence.h:23
const std::string getDataType() const
Definition: IoSequence.h:29
virtual ~IOSequence()
Definition: IoSequence.h:26
This alphabet is used to deal NumericAlphabet.