A library for working with phylogenetic and population genetic data.
v0.27.0
PrinterNested Class Reference

#include <genesis/taxonomy/printers/nested.hpp>

Detailed Description

Simple printer class for Taxonomy.

Definition at line 53 of file nested.hpp.

Public Member Functions

 PrinterNested ()=default
 
 PrinterNested (PrinterNested &&)=default
 
 PrinterNested (PrinterNested const &)=default
 
 ~PrinterNested ()=default
 
int depth_limit () const
 
PrinterNesteddepth_limit (int value)
 
int line_limit () const
 
PrinterNestedline_limit (int value)
 
std::string operator() (Taxonomy const &tax) const
 
PrinterNestedoperator= (PrinterNested &&)=default
 
PrinterNestedoperator= (PrinterNested const &)=default
 
void print (std::ostream &out, Taxonomy const &tax) const
 
std::string print (Taxonomy const &tax) const
 
bool print_ids () const
 
PrinterNestedprint_ids (bool value)
 
bool print_ranks () const
 
PrinterNestedprint_ranks (bool value)
 

Constructor & Destructor Documentation

◆ PrinterNested() [1/3]

PrinterNested ( )
default

◆ ~PrinterNested()

~PrinterNested ( )
default

◆ PrinterNested() [2/3]

PrinterNested ( PrinterNested const &  )
default

◆ PrinterNested() [3/3]

PrinterNested ( PrinterNested &&  )
default

Member Function Documentation

◆ depth_limit() [1/2]

int depth_limit ( ) const

Definition at line 138 of file nested.cpp.

◆ depth_limit() [2/2]

PrinterNested & depth_limit ( int  value)

Definition at line 132 of file nested.cpp.

◆ line_limit() [1/2]

int line_limit ( ) const

Definition at line 127 of file nested.cpp.

◆ line_limit() [2/2]

PrinterNested & line_limit ( int  value)

Definition at line 121 of file nested.cpp.

◆ operator()()

std::string operator() ( Taxonomy const &  tax) const

Definition at line 61 of file nested.cpp.

◆ operator=() [1/2]

PrinterNested& operator= ( PrinterNested &&  )
default

◆ operator=() [2/2]

PrinterNested& operator= ( PrinterNested const &  )
default

◆ print() [1/2]

void print ( std::ostream &  out,
Taxonomy const &  tax 
) const

Definition at line 45 of file nested.cpp.

◆ print() [2/2]

std::string print ( Taxonomy const &  tax) const

Definition at line 53 of file nested.cpp.

◆ print_ids() [1/2]

bool print_ids ( ) const

Definition at line 160 of file nested.cpp.

◆ print_ids() [2/2]

PrinterNested & print_ids ( bool  value)

Definition at line 154 of file nested.cpp.

◆ print_ranks() [1/2]

bool print_ranks ( ) const

Definition at line 149 of file nested.cpp.

◆ print_ranks() [2/2]

PrinterNested & print_ranks ( bool  value)

Definition at line 143 of file nested.cpp.


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