|
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_TAXOPATH_GENERATOR_H_
2 #define GENESIS_TAXONOMY_FORMATS_TAXOPATH_GENERATOR_H_
214 std::string delimiter_ =
";";
215 bool trim_nested_duplicates_ =
false;
216 bool append_delimiter_ =
false;
223 #endif // include guard
TaxopathGenerator & operator=(TaxopathGenerator const &)=default
TaxonField field() const
Return the currelty set field to use for describing a Taxon.
bool append_delimiter() const
Return whether currently a delimiter is appended to the taxonomic path string.
Store a Taxon, i.e., an element in a Taxonomy, with its name, rank, ID and sub-taxa.
TaxopathGenerator()=default
Helper class to generate a taxonomic path string from a Taxopath object or a Taxon.
Helper class to store a taxonomic path.
bool trim_nested_duplicates() const
Return the currently set value whether to trim nested duplicates of taxa names.
std::string delimiter() const
Return the currelty set value used to join the taxonomic path string elements.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
std::string to_string(Taxopath const &taxopath) const
Return a string representation of a Taxopath.
std::string operator()(Taxopath const &taxopath) const
Shortcut function alias for to_string( Taxopath ).
~TaxopathGenerator()=default