ARB
nds.h
Go to the documentation of this file.
1 // =========================================================== //
2 // //
3 // File : awt_nds.hxx //
4 // Purpose : //
5 // //
6 // Institute of Microbiology (Technical University Munich) //
7 // http://www.arb-home.de/ //
8 // //
9 // =========================================================== //
10 
11 #ifndef AWT_NDS_HXX
12 #define AWT_NDS_HXX
13 
14 #ifndef ARBDB_BASE_H
15 #include <arbdb_base.h>
16 #endif
17 #ifndef AW_BASE_HXX
18 #include <aw_base.hxx>
19 #endif
20 
21 #define AWAR_SELECT_ACISRT "tmp/acisrt/select"
22 #define AWAR_SELECT_ACISRT_PRE "tmp/acisrt/select_pre"
23 
24 enum NDS_Type {
25  NDS_OUTPUT_LEAFTEXT = 0, // compress info (no tabbing, separate single fields by comma, completely skip empty fields)
26  NDS_OUTPUT_SPACE_PADDED = 1, // format info (using spaces)
27  NDS_OUTPUT_TAB_SEPARATED = 2, // format info (using 1 tab per column - for easy import into star-calc, excel, etc. ).
28  // (also used by AWT_graphic_tree::show_nds_list for non-tree-display of species in ARB_NTREE)
29  NDS_OUTPUT_COMMA_SEPARATED = 3, // like NDS_OUTPUT_TAB_SEPARATED, but using commas
30 };
31 
33 const char *make_node_text_nds (GBDATA *gb_main, GBDATA *gbd, NDS_Type format, TreeNode *species, const char *tree_name);
34 const char *make_group_text_nds(GBDATA *gb_main, GBDATA *gbd, NDS_Type format, TreeNode *species, const char *tree_name);
35 
36 char *NDS_mask_nonprintable_chars(char *inStr);
37 
39 void create_nds_vars(AW_root *aw_root, AW_default awdef, GBDATA *gb_main, bool force_reinit);
40 void AWT_popup_select_srtaci_window(AW_window *aww, const char *acisrt_awarname);
41 
42 #else
43 #error awt_nds.hxx included twice
44 #endif // AWT_NDS_HXX
const char * make_group_text_nds(GBDATA *gb_main, GBDATA *gbd, NDS_Type format, TreeNode *species, const char *tree_name)
Definition: nds.cxx:857
AliDataPtr format(AliDataPtr data, const size_t wanted_len, GB_ERROR &error)
Definition: insdel.cxx:615
void make_node_text_init(GBDATA *gb_main)
Definition: nds.cxx:850
const char * make_node_text_nds(GBDATA *gb_main, GBDATA *gbd, NDS_Type format, TreeNode *species, const char *tree_name)
Definition: nds.cxx:854
char * NDS_mask_nonprintable_chars(char *inStr)
Definition: nds.cxx:877
NDS_Type
Definition: nds.h:24
void AWT_popup_select_srtaci_window(AW_window *aww, const char *acisrt_awarname)
Definition: nds.cxx:335
AW_window * AWT_create_nds_window(AW_root *aw_root, GBDATA *gb_main)
Definition: nds.cxx:500
void create_nds_vars(AW_root *aw_root, AW_default awdef, GBDATA *gb_main, bool force_reinit)
Definition: nds.cxx:205
GBDATA * gb_main
Definition: adname.cxx:33