A toolkit for working with phylogenetic data.
v0.24.0
PrinterDetailed Class Reference

#include <genesis/tree/printer/detailed.hpp>

Detailed Description

Print a text representation of the Tree, showing all nodes, edges and links with their indices.

Definition at line 58 of file detailed.hpp.

Public Member Functions

 PrinterDetailed ()=default
 
 PrinterDetailed (PrinterDetailed const &)=default
 
 PrinterDetailed (PrinterDetailed &&)=default
 
 ~PrinterDetailed ()=default
 
PrinterDetailedoperator= (PrinterDetailed const &)=default
 
PrinterDetailedoperator= (PrinterDetailed &&)=default
 
void print (std::ostream &out, Tree const &tree) const
 
std::string print (Tree const &tree) const
 
bool use_color () const
 
PrinterDetaileduse_color (bool value)
 

Constructor & Destructor Documentation

◆ PrinterDetailed() [1/3]

PrinterDetailed ( )
default

◆ ~PrinterDetailed()

~PrinterDetailed ( )
default

◆ PrinterDetailed() [2/3]

PrinterDetailed ( PrinterDetailed const &  )
default

◆ PrinterDetailed() [3/3]

PrinterDetailed ( PrinterDetailed &&  )
default

Member Function Documentation

◆ operator=() [1/2]

PrinterDetailed& operator= ( PrinterDetailed const &  )
default

◆ operator=() [2/2]

PrinterDetailed& operator= ( PrinterDetailed &&  )
default

◆ print() [1/2]

void print ( std::ostream &  out,
Tree const &  tree 
) const

Definition at line 54 of file detailed.cpp.

◆ print() [2/2]

std::string print ( Tree const &  tree) const

Definition at line 123 of file detailed.cpp.

◆ use_color() [1/2]

bool use_color ( ) const
inline

Definition at line 88 of file detailed.hpp.

◆ use_color() [2/2]

PrinterDetailed& use_color ( bool  value)
inline

Definition at line 93 of file detailed.hpp.


The documentation for this class was generated from the following files: