bpp-popgen3  3.0.0
AbstractODataSet.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 _ABSTRACTODATASET_H_
6 #define _ABSTRACTODATASET_H_
7 
8 #include "ODataSet.h"
9 
10 namespace bpp
11 {
18  public ODataSet
19 {
20 public:
21  virtual ~AbstractODataSet();
22 
23 public:
28  virtual void write(std::ostream& os, const DataSet& data_set) const = 0;
29  virtual void write(const std::string& path, const DataSet& data_set, bool overwrite) const;
33 };
34 } // end of namespace bpp;
35 
36 #endif // _ABSTRACTODATASET_H_
Partial implementation of the DataSet Output interface.
virtual void write(std::ostream &os, const DataSet &data_set) const =0
Write a DataSet on ostream.
The DataSet class.
Definition: DataSet.h:37
The ODataSet interface.
Definition: ODataSet.h:21