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