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
bpp
Definition:
ApplicationTools.h:22
bpp::IOFormat::getFormatDescription
virtual const std::string getFormatDescription() const =0
Get a description of the file format.
bpp::IOFormat
The IOFormat interface.
Definition:
IoFormat.h:21
bpp::IOFormat::getDataType
virtual const std::string getDataType() const =0
Get the type of data this format deals with.
bpp::IOFormat::getFormatName
virtual const std::string getFormatName() const =0
Get the name of the file format.
bpp::IOFormat::~IOFormat
virtual ~IOFormat()
Definition:
IoFormat.h:25
bpp::IOFormat::IOFormat
IOFormat()
Definition:
IoFormat.h:24
Bpp
Io
IoFormat.h
Generated on Wed Jul 3 2024 10:53:56 for bpp-core3 by
1.8.13