Partial implementation of the OTree interface.
More...
#include <Bpp/Phyl/Io/IoTree.h>
Partial implementation of the OTree interface.
Definition at line 156 of file IoTree.h.
◆ AbstractOTree()
bpp::AbstractOTree::AbstractOTree |
( |
| ) |
|
|
inline |
◆ ~AbstractOTree()
virtual bpp::AbstractOTree::~AbstractOTree |
( |
| ) |
|
|
inlinevirtual |
◆ getDataType()
virtual const std::string bpp::IOTree::getDataType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ write() [1/2]
void bpp::AbstractOTree::write |
( |
const Tree & |
tree, |
|
|
std::ostream & |
out |
|
) |
| const |
throw | ( | Exception |
| ) | | |
|
pure virtual |
◆ write() [2/2]
virtual void bpp::AbstractOTree::write |
( |
const Tree & |
tree, |
|
|
const std::string & |
path, |
|
|
bool |
overwrite |
|
) |
| const |
throw | ( | Exception |
| ) | | |
|
inlinevirtual |
Write a tree to a file.
- Parameters
-
tree | A tree object. |
path | The file path. |
overwrite | Tell if existing file must be overwritten. Otherwise append to the file. |
- Exceptions
-
Exception | If an error occured. |
Implements bpp::OTree.
Reimplemented in bpp::Nhx, bpp::Newick, and bpp::NexusIOTree.
Definition at line 165 of file IoTree.h.
References write().
The documentation for this class was generated from the following file: