libsequence
1.9.5
|
Class that provides a typecast-on-output of a marginal tree to a newick tree Example use: More...
#include <Sequence/Coalescent/SimTypes.hpp>
Public Member Functions | |
newick_stream_marginal_tree (const marginal &m) | |
newick_stream_marginal_tree (const marginal *m) | |
newick_stream_marginal_tree (arg::const_iterator m) | |
newick_stream_marginal_tree (arg::iterator m) | |
std::vector< node > | get_tree () const |
std::ostream & | print (std::ostream &o) const |
std::istream & | read (std::istream &i) |
Class that provides a typecast-on-output of a marginal tree to a newick tree Example use:
Definition at line 221 of file SimTypes.hpp.
std::vector< node > Sequence::coalsim::newick_stream_marginal_tree::get_tree | ( | ) | const |
if a tree has been read in from a stream, return it, else return an empty tree
Definition at line 434 of file CoalescentSimTypes.cc.
std::ostream & Sequence::coalsim::newick_stream_marginal_tree::print | ( | std::ostream & | o | ) | const |
Write the marginal tree in Newick format to stream o
Definition at line 443 of file CoalescentSimTypes.cc.
std::istream & Sequence::coalsim::newick_stream_marginal_tree::read | ( | std::istream & | i | ) |
Read a Newick tree from stream i
Definition at line 452 of file CoalescentSimTypes.cc.