bpp-popgen3  3.0.0
bpp::AbstractODataSet Class Referenceabstract

Partial implementation of the DataSet Output interface. More...

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

+ Inheritance diagram for bpp::AbstractODataSet:
+ Collaboration diagram for bpp::AbstractODataSet:

Public Member Functions

virtual ~AbstractODataSet ()
 
virtual const std::string getFormatName () const=0
 
virtual const std::string getFormatDescription () const=0
 
The ODataSet interface.
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
 Write a DataSet in a text file. More...
 

Private Member Functions

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

Detailed Description

Partial implementation of the DataSet Output interface.

Author
Sylvain Gaillard

Definition at line 17 of file AbstractODataSet.h.

Constructor & Destructor Documentation

◆ ~AbstractODataSet()

AbstractODataSet::~AbstractODataSet ( )
virtual

Definition at line 14 of file AbstractODataSet.cpp.

Member Function Documentation

◆ getDataType()

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

Implements bpp::IOFormat.

Definition at line 33 of file IODataSet.h.

◆ write() [1/2]

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

Write a DataSet in a text file.

Implements bpp::ODataSet.

Reimplemented in bpp::PopgenlibIO, bpp::DarwinVarSingle, and bpp::DarwinDon.

Definition at line 16 of file AbstractODataSet.cpp.

◆ write() [2/2]

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

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