ARB
Classes | Typedefs | Enumerations | Functions
TreeWrite.h File Reference
#include <arbdb_base.h>
#include <nds.h>
Include dependency graph for TreeWrite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TREE_node_text_gen
 

Typedefs

typedef void(* TREE_make_node_text_init )(GBDATA *gb_main)
 
typedef const char *(* TREE_make_node_text )(GBDATA *gb_main, GBDATA *gbd, enum NDS_Type mode, TreeNode *species, const char *tree_name)
 

Enumerations

enum  TREE_node_quoting {
  TREE_DISALLOW_QUOTES = 0, TREE_SINGLE_QUOTES = 1, TREE_DOUBLE_QUOTES = 2, TREE_FORCE_QUOTES = 4,
  TREE_FORCE_REPLACE = 8
}
 

Functions

GB_ERROR TREE_write_Newick (GBDATA *gb_main, const char *tree_name, const TREE_node_text_gen *node_gen, bool save_branchlengths, bool save_bootstraps, bool save_groupnames, bool pretty, TREE_node_quoting quoteMode, const char *path)
 
GB_ERROR TREE_write_XML (GBDATA *gb_main, const char *db_name, const char *tree_name, const TREE_node_text_gen *node_gen, 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)
 

Typedef Documentation

typedef void(* TREE_make_node_text_init)(GBDATA *gb_main)

Definition at line 21 of file TreeWrite.h.

typedef const char*(* TREE_make_node_text)(GBDATA *gb_main, GBDATA *gbd, enum NDS_Type mode, TreeNode *species, const char *tree_name)

Definition at line 22 of file TreeWrite.h.

Enumeration Type Documentation

Enumerator
TREE_DISALLOW_QUOTES 
TREE_SINGLE_QUOTES 
TREE_DOUBLE_QUOTES 
TREE_FORCE_QUOTES 
TREE_FORCE_REPLACE 

Definition at line 34 of file TreeWrite.h.

Function Documentation

GB_ERROR TREE_write_Newick ( GBDATA gb_main,
const char tree_name,
const TREE_node_text_gen node_gen,
bool  save_branchlengths,
bool  save_bootstraps,
bool  save_groupnames,
bool  pretty,
TREE_node_quoting  quoteMode,
const char path 
)
GB_ERROR TREE_write_XML ( GBDATA gb_main,
const char db_name,
const char tree_name,
const TREE_node_text_gen node_gen,
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 
)