|
bpp-phyl
2.1.0
|
Partial implementation of the ITree interface. More...
#include <Bpp/Phyl/Io/IoTree.h>
Inheritance diagram for bpp::AbstractITree:
Collaboration diagram for bpp::AbstractITree:Public Member Functions | |
| AbstractITree () | |
| virtual | ~AbstractITree () |
| virtual Tree * | read (std::istream &in) const =0 throw (Exception) |
| Read a tree from a stream. More... | |
| virtual Tree * | read (const std::string &path) const throw (Exception) |
| Read a tree from a file. More... | |
| virtual const std::string | getDataType () const |
|
inlinevirtual |
|
inlinevirtualinherited |
Implements bpp::IOFormat.
Read a tree from a stream.
| in | The input stream. |
| Exception | If an error occured. |
Implements bpp::ITree.
Implemented in bpp::Nhx, bpp::Newick, and bpp::NexusIOTree.
Referenced by bpp::NexusIOTree::read(), bpp::Newick::read(), read(), and bpp::Nhx::read().
|
inlinevirtual |
Read a tree from a file.
| path | The file path. |
| Exception | If an error occured. |
Implements bpp::ITree.
Reimplemented in bpp::Nhx, bpp::Newick, and bpp::NexusIOTree.
Definition at line 143 of file IoTree.h.
References read().