Partial implementation of the OTree interface.
More...
#include <Bpp/Phyl/Io/IoTree.h>
Partial implementation of the OTree interface.
Definition at line 254 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 |
◆ writeTree() [1/2]
virtual void bpp::AbstractOTree::writeTree |
( |
const Tree & |
tree, |
|
|
const std::string & |
path, |
|
|
bool |
overwrite |
|
) |
| const |
|
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
-
Implements bpp::OTree.
Definition at line 263 of file IoTree.h.
References bpp::IOException::what(), and writeTree().
◆ writeTree() [2/2]
virtual void bpp::AbstractOTree::writeTree |
( |
const Tree & |
tree, |
|
|
std::ostream & |
out |
|
) |
| const |
|
pure virtual |
The documentation for this class was generated from the following file: