A toolkit for working with phylogenetic data.
v0.20.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TaxonomyWriter Class Reference

#include <genesis/taxonomy/formats/taxonomy_writer.hpp>

Detailed Description

Write a Taxonomy as a list of Taxopaths.

Definition at line 50 of file taxonomy_writer.hpp.

Public Member Functions

 TaxonomyWriter ()=default
 
 TaxonomyWriter (TaxonomyWriter const &)=default
 
 TaxonomyWriter (TaxonomyWriter &&)=default
 
 ~TaxonomyWriter ()=default
 
TaxonomyWriteroperator= (TaxonomyWriter const &)=default
 
TaxonomyWriteroperator= (TaxonomyWriter &&)=default
 
TaxopathGeneratortaxopath_generator ()
 
void to_file (Taxonomy const &tax, std::string const &fn) const
 
void to_stream (Taxonomy const &tax, std::ostream &os) const
 
std::string to_string (Taxonomy const &tax) const
 
TaxonomyWriterwrite_ids (bool value)
 
bool write_ids () const
 
TaxonomyWriterwrite_ranks (bool value)
 
bool write_ranks () const
 

Constructor & Destructor Documentation

TaxonomyWriter ( )
default
~TaxonomyWriter ( )
default
TaxonomyWriter ( TaxonomyWriter const &  )
default
TaxonomyWriter ( TaxonomyWriter &&  )
default

Member Function Documentation

TaxonomyWriter& operator= ( TaxonomyWriter const &  )
default
TaxonomyWriter& operator= ( TaxonomyWriter &&  )
default
TaxopathGenerator& taxopath_generator ( )
inline

Definition at line 81 of file taxonomy_writer.hpp.

void to_file ( Taxonomy const &  tax,
std::string const &  fn 
) const

Definition at line 71 of file taxonomy_writer.cpp.

void to_stream ( Taxonomy const &  tax,
std::ostream &  os 
) const

Definition at line 55 of file taxonomy_writer.cpp.

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

Definition at line 78 of file taxonomy_writer.cpp.

TaxonomyWriter& write_ids ( bool  value)
inline

Definition at line 86 of file taxonomy_writer.hpp.

bool write_ids ( ) const
inline

Definition at line 92 of file taxonomy_writer.hpp.

TaxonomyWriter& write_ranks ( bool  value)
inline

Definition at line 97 of file taxonomy_writer.hpp.

bool write_ranks ( ) const
inline

Definition at line 103 of file taxonomy_writer.hpp.


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