#include <genesis/taxonomy/printers/nested.hpp>
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 |
PrinterNested & | depth_limit (int value) |
int | line_limit () const |
PrinterNested & | line_limit (int value) |
std::string | operator() (Taxonomy const &tax) const |
PrinterNested & | operator= (PrinterNested &&)=default |
PrinterNested & | operator= (PrinterNested const &)=default |
void | print (std::ostream &out, Taxonomy const &tax) const |
std::string | print (Taxonomy const &tax) const |
bool | print_ids () const |
PrinterNested & | print_ids (bool value) |
bool | print_ranks () const |
PrinterNested & | print_ranks (bool value) |
|
default |
|
default |
|
default |
|
default |
int depth_limit | ( | ) | const |
Definition at line 138 of file nested.cpp.
PrinterNested & depth_limit | ( | int | value | ) |
Definition at line 132 of file nested.cpp.
int line_limit | ( | ) | const |
Definition at line 127 of file nested.cpp.
PrinterNested & line_limit | ( | int | value | ) |
Definition at line 121 of file nested.cpp.
std::string operator() | ( | Taxonomy const & | tax | ) | const |
Definition at line 61 of file nested.cpp.
|
default |
|
default |
void print | ( | std::ostream & | out, |
Taxonomy const & | tax | ||
) | const |
Definition at line 45 of file nested.cpp.
std::string print | ( | Taxonomy const & | tax | ) | const |
Definition at line 53 of file nested.cpp.
bool print_ids | ( | ) | const |
Definition at line 160 of file nested.cpp.
PrinterNested & print_ids | ( | bool | value | ) |
Definition at line 154 of file nested.cpp.
bool print_ranks | ( | ) | const |
Definition at line 149 of file nested.cpp.
PrinterNested & print_ranks | ( | bool | value | ) |
Definition at line 143 of file nested.cpp.