bpp-seq3
3.0.0
|
Partial implementation of the ODistanceMatrix interface. More...
#include <Bpp/Seq/Io/IoDistanceMatrix.h>
Public Member Functions | |
AbstractODistanceMatrix () | |
virtual | ~AbstractODistanceMatrix () |
virtual void | writeDistanceMatrix (const DistanceMatrix &dist, const std::string &path, bool overwrite) const |
Write a distance matrix to a file. More... | |
virtual void | writeDistanceMatrix (const DistanceMatrix &dist, std::ostream &out) const =0 |
Write a distance matrix to a stream. More... | |
virtual const std::string | getDataType () const |
virtual const std::string | getFormatName () const=0 |
virtual const std::string | getFormatDescription () const=0 |
Partial implementation of the ODistanceMatrix interface.
Definition at line 115 of file IoDistanceMatrix.h.
|
inline |
Definition at line 119 of file IoDistanceMatrix.h.
|
inlinevirtual |
Definition at line 120 of file IoDistanceMatrix.h.
|
inlinevirtualinherited |
Implements bpp::IOFormat.
Definition at line 28 of file IoDistanceMatrix.h.
|
inlinevirtual |
Write a distance matrix to a file.
dist | A distance matrix object. |
path | The file path. |
overwrite | Tell if existing file must be overwritten. Otherwise append to the file. |
Exception | If an error occurred. |
Implements bpp::ODistanceMatrix.
Reimplemented in bpp::PhylipDistanceMatrixFormat.
Definition at line 123 of file IoDistanceMatrix.h.
Referenced by bpp::PhylipDistanceMatrixFormat::writeDistanceMatrix().
|
pure virtual |
Write a distance matrix to a stream.
dist | A distance matrix object. |
out | The output stream. |
Exception | If an error occurred. |
Implements bpp::ODistanceMatrix.
Implemented in bpp::PhylipDistanceMatrixFormat.