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