ARB
|
#include <nds.h>
Go to the source code of this file.
Enumerations | |
enum | LabelQuoting { LABEL_DISALLOW_QUOTES = 0, LABEL_SINGLE_QUOTES = 1, LABEL_DOUBLE_QUOTES = 2, LABEL_FORCE_QUOTES = 4, LABEL_FORCE_REPLACE = 8, LABEL_ACCEPT_NON_ASCII = 16 } |
Functions | |
GB_ERROR | TREE_write_Newick (GBDATA *gb_main, const char *tree_name, const TreeLabeler &labeler, bool save_branchlengths, bool save_bootstraps, bool save_groupnames, bool pretty, LabelQuoting quoteMode, const char *path) |
GB_ERROR | TREE_write_XML (GBDATA *gb_main, const char *db_name, const char *tree_name, const TreeLabeler &labeler, bool skip_folded, const char *path) |
GB_ERROR | TREE_export_tree (GBDATA *gb_main, FILE *out, TreeNode *tree, bool triple_root, bool export_branchlens, bool use_double_quotes) |
enum LabelQuoting |
Enumerator | |
---|---|
LABEL_DISALLOW_QUOTES | |
LABEL_SINGLE_QUOTES | |
LABEL_DOUBLE_QUOTES | |
LABEL_FORCE_QUOTES | |
LABEL_FORCE_REPLACE | |
LABEL_ACCEPT_NON_ASCII |
Definition at line 18 of file TreeWrite.h.
GB_ERROR TREE_write_Newick | ( | GBDATA * | gb_main, |
const char * | tree_name, | ||
const TreeLabeler & | labeler, | ||
bool | save_branchlengths, | ||
bool | save_bootstraps, | ||
bool | save_groupnames, | ||
bool | pretty, | ||
LabelQuoting | quoteMode, | ||
const char * | path | ||
) |
Definition at line 359 of file TreeWrite.cxx.
References complete_newick_comment(), destroy(), error(), export_tree_node_print(), fputc(), fputs(), GB_await_error(), GB_entry(), GB_read_string(), GB_unlink_or_warn(), GBS_global_string(), GBS_log_action_to(), GBT_find_tree(), GBT_link_tree(), GBT_read_tree(), NULp, ta, and tree_assert.
Referenced by export_newick(), save_tree_as_newick(), and tree_save_cb().
GB_ERROR TREE_write_XML | ( | GBDATA * | gb_main, |
const char * | db_name, | ||
const char * | tree_name, | ||
const TreeLabeler & | labeler, | ||
bool | skip_folded, | ||
const char * | path | ||
) |
Definition at line 283 of file TreeWrite.cxx.
References ARB_date_string(), error(), export_tree_node_print_xml(), GB_await_error(), GB_entry(), GB_export_errorf(), GB_read_string(), GBT_find_tree(), GBT_link_tree(), GBT_read_tree(), NULp, and ta.
Referenced by tree_save_cb().
GB_ERROR TREE_export_tree | ( | GBDATA * | gb_main, |
FILE * | out, | ||
TreeNode * | tree, | ||
bool | triple_root, | ||
bool | export_branchlens, | ||
bool | use_double_quotes | ||
) |
Definition at line 450 of file TreeWrite.cxx.
References export_tree_rek(), fputc(), GB_export_error(), TreeNode::is_leaf(), TreeNode::leftson, NULp, and TreeNode::rightson.
Referenced by main().