bpp-core3
3.0.0
IDataSet.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 _IDATASET_H_
6
#define _IDATASET_H_
7
8
#include "
IODataSet.h
"
9
10
#include <Bpp/Exceptions.h>
11
12
namespace
bpp
13
{
19
class
IDataSet
:
20
public
virtual
IODataSet
21
{
22
public
:
23
// Class destructor
24
virtual
~IDataSet
() {}
25
26
public
:
30
virtual
void
read
(std::istream& is,
DataSet
& data_set) = 0;
31
35
virtual
void
read
(
const
std::string& path,
DataSet
& data_set) = 0;
36
40
virtual
DataSet
*
read
(std::istream& is) = 0;
41
45
virtual
DataSet
*
read
(
const
std::string& path) = 0;
46
};
47
}
// end of namespace bpp;
48
49
#endif // _IDATASET_H_
bpp
Definition:
AlleleInfo.h:13
IODataSet.h
bpp::IDataSet::read
virtual void read(std::istream &is, DataSet &data_set)=0
Read a DataSet on istream.
bpp::IDataSet
The IDataSet interface.
Definition:
IDataSet.h:19
bpp::IDataSet::~IDataSet
virtual ~IDataSet()
Definition:
IDataSet.h:24
bpp::IODataSet
Interface for input/output with DataSet.
Definition:
IODataSet.h:27
bpp::DataSet
The DataSet class.
Definition:
DataSet.h:36
Bpp
PopGen
DataSet
Io
IDataSet.h
Generated on Thu Jul 4 2024 06:01:10 for bpp-core3 by
1.8.13