|
bpp-phyl
2.1.0
|
General interface for multiple trees readers. More...
#include <Bpp/Phyl/Io/IoTree.h>
Inheritance diagram for bpp::IMultiTree:
Collaboration diagram for bpp::IMultiTree:Public Member Functions | |
| IMultiTree () | |
| virtual | ~IMultiTree () |
| virtual void | read (const std::string &path, std::vector< Tree * > &trees) const =0 throw (Exception) |
| Read trees from a file. | |
| virtual void | read (std::istream &in, std::vector< Tree * > &trees) const =0 throw (Exception) |
| Read trees from a stream. | |
| virtual const std::string | getDataType () const |
| virtual const std::string | getFormatName () const =0 |
| virtual const std::string | getFormatDescription () const =0 |
| bpp::IMultiTree::IMultiTree | ( | ) | [inline] |
| virtual bpp::IMultiTree::~IMultiTree | ( | ) | [inline, virtual] |
| virtual const std::string bpp::IOTree::getDataType | ( | ) | const [inline, virtual, inherited] |
Implements bpp::IOFormat.
| virtual void bpp::IMultiTree::read | ( | const std::string & | path, |
| std::vector< Tree * > & | trees | ||
| ) | const throw (Exception) [pure virtual] |
Read trees from a file.
| path | The file path. |
| trees | The output trees container. |
| Exception | If an error occured. |
Implemented in bpp::AbstractIMultiTree, bpp::Nhx, bpp::Newick, and bpp::NexusIOTree.
Referenced by bpp::PhylogeneticsApplicationTools::getTrees().
| virtual void bpp::IMultiTree::read | ( | std::istream & | in, |
| std::vector< Tree * > & | trees | ||
| ) | const throw (Exception) [pure virtual] |
Read trees from a stream.
| in | The input stream. |
| trees | The output trees container. |
| Exception | If an error occured. |
Implemented in bpp::AbstractIMultiTree, bpp::Nhx, bpp::Newick, and bpp::NexusIOTree.