General interface for tree readers.
More...
#include <Bpp/Phyl/Io/IoTree.h>
General interface for tree readers.
Definition at line 57 of file IoTree.h.
◆ ITree()
◆ ~ITree()
virtual bpp::ITree::~ITree |
( |
| ) |
|
|
inlinevirtual |
◆ getDataType()
virtual const std::string bpp::IOTree::getDataType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ readTree() [1/2]
virtual std::unique_ptr<Tree> bpp::ITree::readTree |
( |
const std::string & |
path | ) |
const |
|
pure virtual |
Read a tree from a file.
- Parameters
-
- Returns
- A new tree object.
- Exceptions
-
Implemented in bpp::AbstractITree.
◆ readTree() [2/2]
virtual std::unique_ptr<Tree> bpp::ITree::readTree |
( |
std::istream & |
in | ) |
const |
|
pure virtual |
Read a tree from a stream.
- Parameters
-
- Returns
- A new tree object.
- Exceptions
-
Implemented in bpp::AbstractITree.
The documentation for this class was generated from the following file: