bpp-popgen3  3.0.0
bpp::DarwinDon Class Reference

The Darwin .don output format for popgenlib. More...

#include <Bpp/PopGen/DataSet/Io/Darwin/DarwinDon.h>

+ Inheritance diagram for bpp::DarwinDon:
+ Collaboration diagram for bpp::DarwinDon:

Public Member Functions

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

Private Member Functions

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

Detailed Description

The Darwin .don output format for popgenlib.

Author
Sylvain Gaillard

Definition at line 23 of file DarwinDon.h.

Constructor & Destructor Documentation

◆ DarwinDon()

DarwinDon::DarwinDon ( )

Definition at line 12 of file DarwinDon.cpp.

◆ ~DarwinDon()

DarwinDon::~DarwinDon ( )

Definition at line 14 of file DarwinDon.cpp.

Member Function Documentation

◆ getDataType()

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

Implements bpp::IOFormat.

Definition at line 33 of file IODataSet.h.

◆ getFormatDescription()

const std::string bpp::DarwinDon::getFormatDescription ( ) const
inlinevirtual

Implements bpp::IOFormat.

Definition at line 50 of file DarwinDon.h.

◆ getFormatName()

const std::string bpp::DarwinDon::getFormatName ( ) const
inlinevirtual

Implements bpp::IOFormat.

Definition at line 46 of file DarwinDon.h.

◆ write() [1/2]

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

Write a DataSet in a text file.

Reimplemented from bpp::AbstractODataSet.

Definition at line 43 of file DarwinDon.cpp.

References bpp::AbstractODataSet::write().

◆ write() [2/2]

void DarwinDon::write ( std::ostream &  os,
const DataSet data_set 
) const
virtual

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