bpp-popgen3
3.0.0
ODataSet.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 _ODATASET_H_
6
#define _ODATASET_H_
7
8
#include "
IODataSet.h
"
9
10
#include <
Bpp/Exceptions.h
>
11
12
namespace
bpp
13
{
19
class
ODataSet
:
20
public
virtual
IODataSet
21
{
22
public
:
23
// Class destructor
24
virtual
~ODataSet
() {}
25
26
public
:
30
virtual
void
write
(std::ostream& os,
const
DataSet
& data_set)
const
= 0;
31
35
virtual
void
write
(
const
std::string& path,
const
DataSet
& data_set,
bool
overwrite)
const
= 0;
36
};
37
}
// end of namespace bpp;
38
39
#endif
// _ODATASET_H_
Exceptions.h
IODataSet.h
bpp::DataSet
The DataSet class.
Definition:
DataSet.h:37
bpp::IODataSet
Interface for input/output with DataSet.
Definition:
IODataSet.h:28
bpp::ODataSet
The ODataSet interface.
Definition:
ODataSet.h:21
bpp::ODataSet::write
virtual void write(const std::string &path, const DataSet &data_set, bool overwrite) const =0
Write a DataSet in a text file.
bpp::ODataSet::~ODataSet
virtual ~ODataSet()
Definition:
ODataSet.h:24
bpp::ODataSet::write
virtual void write(std::ostream &os, const DataSet &data_set) const =0
Write a DataSet on ostream.
bpp
Bpp
PopGen
DataSet
Io
ODataSet.h
Generated on Sun Jul 21 2024 08:40:35 for bpp-popgen3 by
1.9.1