bpp-popgen  3.0.0
bpp::ODataSet Class Referenceabstract

The ODataSet interface. More...

#include <Bpp/PopGen/DataSet/Io/ODataSet.h>

+ Inheritance diagram for bpp::ODataSet:
+ Collaboration diagram for bpp::ODataSet:

Public Member Functions

virtual ~ODataSet ()
 
virtual void write (std::ostream &os, const DataSet &data_set) const =0
 Write a DataSet on ostream. More...
 
virtual void write (const std::string &path, const DataSet &data_set, bool overwrite) const =0
 Write a DataSet in a text file. More...
 
virtual const std::string getFormatName () const=0
 
virtual const std::string getFormatDescription () const=0
 

Private Member Functions

The IOFormat interface.
const std::string getDataType () const
 

Detailed Description

The ODataSet interface.

Author
Sylvain Gaillard

Definition at line 54 of file ODataSet.h.

Constructor & Destructor Documentation

◆ ~ODataSet()

virtual bpp::ODataSet::~ODataSet ( )
inlinevirtual

Definition at line 59 of file ODataSet.h.

Member Function Documentation

◆ getDataType()

const std::string bpp::IODataSet::getDataType ( ) const
inlineprivatevirtualinherited

Implements bpp::IOFormat.

Definition at line 67 of file IODataSet.h.

◆ write() [1/2]

virtual void bpp::ODataSet::write ( const std::string &  path,
const DataSet data_set,
bool  overwrite 
) const
pure virtual

Write a DataSet in a text file.

Implemented in bpp::PopgenlibIO, bpp::DarwinVarSingle, bpp::DarwinDon, and bpp::AbstractODataSet.

◆ write() [2/2]

virtual void bpp::ODataSet::write ( std::ostream &  os,
const DataSet data_set 
) const
pure virtual

The documentation for this class was generated from the following file: