|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_TAXONOMY_FORMATS_TAXONOMY_WRITER_H_
2 #define GENESIS_TAXONOMY_FORMATS_TAXONOMY_WRITER_H_
77 void write(
Taxonomy const& tax, std::shared_ptr<utils::BaseOutputTarget> target )
const;
103 write_ranks_ = value;
118 bool write_ids_ =
true;
119 bool write_ranks_ =
true;
128 #endif // include guard
TaxopathGenerator & taxopath_generator()
TaxonomyWriter & write_ranks(bool value)
void write(Taxonomy const &tax, std::shared_ptr< utils::BaseOutputTarget > target) const
Helper class to generate a taxonomic path string from a Taxopath object or a Taxon.
TaxonomyWriter & write_ids(bool value)
Write a Taxonomy as a list of Taxopaths.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
Store a Taxonomy, i.e., a nested hierarchy of Taxa.
TaxonomyWriter & operator=(TaxonomyWriter const &)=default
~TaxonomyWriter()=default