bpp-core3  3.0.0
IoFormat.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_IO_IOFORMAT_H
6 #define BPP_IO_IOFORMAT_H
7 
8 
9 #include "../Exceptions.h"
10 
11 // From STL:
12 #include <string>
13 
14 namespace bpp
15 {
21 class IOFormat
22 {
23 public:
24  IOFormat() {}
25  virtual ~IOFormat() {}
26 
27 public:
33  virtual const std::string getDataType() const = 0;
34 
40  virtual const std::string getFormatName() const = 0;
41 
47  virtual const std::string getFormatDescription() const = 0;
48 };
49 } // end of namespace bpp.
50 #endif // BPP_IO_IOFORMAT_H
virtual const std::string getFormatDescription() const =0
Get a description of the file format.
The IOFormat interface.
Definition: IoFormat.h:21
virtual const std::string getDataType() const =0
Get the type of data this format deals with.
virtual const std::string getFormatName() const =0
Get the name of the file format.
virtual ~IOFormat()
Definition: IoFormat.h:25