General interface for distance matrix writers.
More...
#include <Bpp/Phyl/Io/IoDistanceMatrix.h>
|
| | ODistanceMatrix () |
| |
| virtual | ~ODistanceMatrix () |
| |
| virtual void | write (const DistanceMatrix &dist, const std::string &path, bool overwrite) const =0 throw (Exception) |
| | Write a distance matrix to a file. More...
|
| |
| virtual void | write (const DistanceMatrix &dist, std::ostream &out) const =0 throw (Exception) |
| | Write a distance matrix to a stream. More...
|
| |
| virtual const std::string | getDataType () const |
| |
General interface for distance matrix writers.
Definition at line 100 of file IoDistanceMatrix.h.
◆ ODistanceMatrix()
| bpp::ODistanceMatrix::ODistanceMatrix |
( |
| ) |
|
|
inline |
◆ ~ODistanceMatrix()
| virtual bpp::ODistanceMatrix::~ODistanceMatrix |
( |
| ) |
|
|
inlinevirtual |
◆ getDataType()
| virtual const std::string bpp::IODistanceMatrix::getDataType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ write() [1/2]
| virtual void bpp::ODistanceMatrix::write |
( |
const DistanceMatrix & |
dist, |
|
|
const std::string & |
path, |
|
|
bool |
overwrite |
|
) |
| const |
| throw | ( | Exception |
| ) | | |
|
pure virtual |
Write a distance matrix to a file.
- Parameters
-
| dist | A distance matrix object. |
| path | The file path. |
| overwrite | Tell if existing file must be overwritten. Otherwise append to the file. |
- Exceptions
-
| Exception | If an error occured. |
Implemented in bpp::AbstractODistanceMatrix, and bpp::PhylipDistanceMatrixFormat.
◆ write() [2/2]
| virtual void bpp::ODistanceMatrix::write |
( |
const DistanceMatrix & |
dist, |
|
|
std::ostream & |
out |
|
) |
| const |
| throw | ( | Exception |
| ) | | |
|
pure virtual |
The documentation for this class was generated from the following file: