|
Last change
on this file was
18704,
checked in by westram, 4 years ago
|
|
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
|
File size:
1.6 KB
|
| Line | |
|---|
| 1 | // ============================================================ // |
|---|
| 2 | // // |
|---|
| 3 | // File : TreeWrite.h // |
|---|
| 4 | // Purpose : // |
|---|
| 5 | // // |
|---|
| 6 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 7 | // www.arb-home.de // |
|---|
| 8 | // // |
|---|
| 9 | // ============================================================ // |
|---|
| 10 | |
|---|
| 11 | #ifndef TREEWRITE_H |
|---|
| 12 | #define TREEWRITE_H |
|---|
| 13 | |
|---|
| 14 | #ifndef NDS_H |
|---|
| 15 | #include <nds.h> |
|---|
| 16 | #endif |
|---|
| 17 | |
|---|
| 18 | enum TREE_node_quoting { |
|---|
| 19 | TREE_DISALLOW_QUOTES = 0, // don't use quotes |
|---|
| 20 | TREE_SINGLE_QUOTES = 1, // use single quotes |
|---|
| 21 | TREE_DOUBLE_QUOTES = 2, // use double quotes |
|---|
| 22 | |
|---|
| 23 | TREE_FORCE_QUOTES = 4, // force usage of quotes |
|---|
| 24 | TREE_FORCE_REPLACE = 8, // replace all problematic characters (default is to replace quotes in quoted labels) |
|---|
| 25 | }; |
|---|
| 26 | |
|---|
| 27 | 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, TREE_node_quoting quoteMode, const char *path); |
|---|
| 28 | 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); |
|---|
| 29 | GB_ERROR TREE_export_tree(GBDATA *gb_main, FILE *out, TreeNode *tree, bool triple_root, bool export_branchlens, bool use_double_quotes); |
|---|
| 30 | |
|---|
| 31 | #else |
|---|
| 32 | #error TreeWrite.h included twice |
|---|
| 33 | #endif // TREEWRITE_H |
|---|
Note: See
TracBrowser
for help on using the repository browser.