source: branches/port5/SL/DB_SCANNER/db_scanner.hxx

Last change on this file was 5675, checked in by westram, 16 years ago
  • removed automatic timestamps (the best they were good for, were vc-conflicts)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1// ==================================================================== //
2//                                                                      //
3//   File      : db_scanner.hxx                                         //
4//   Purpose   : ARB database scanner                                   //
5//                                                                      //
6//                                                                      //
7// Coded by Ralf Westram (coder@reallysoft.de) in May 2005              //
8// Copyright Department of Microbiology (Technical University Munich)   //
9//                                                                      //
10// Visit our web site at: http://www.arb-home.de/                       //
11//                                                                      //
12// ==================================================================== //
13#ifndef DB_SCANNER_HXX
14#define DB_SCANNER_HXX
15
16/**************************************************************************
17 *********************   Various Database SCANNER Boxes  *******************
18 ***************************************************************************/
19/*  A scanner show all (rekursiv) information of a database entry:
20    This information can be organized in two different ways:
21    1. AWT_SCANNER: Show exact all (filtered) information stored in the DB
22    2. AWT_VIEWER:  Create a list of all database fields (see FIELD INFORMATIONS)
23    and if any information is stored under a field append it.
24    example: fields:    name, full_name, acc, author
25    DB entries:    name:e.coli full_name:esc.coli flag:test
26    ->  name:       e.coli
27    full_name:  esc.coli
28    acc:
29    author:
30*/
31
32typedef enum {
33    AWT_SCANNER,
34    AWT_VIEWER
35} AWT_SCANNERMODE;
36
37
38AW_CL awt_create_arbdb_scanner(GBDATA                 *gb_main, AW_window *aws,
39                               const char             *box_pos_fig, /* the position for the box in the xfig file */
40                               const char             *delete_pos_fig,
41                               const char             *edit_pos_fig,
42                               const char             *edit_enable_pos_fig,
43                               AWT_SCANNERMODE         scannermode,
44                               const char             *rescan_pos_fig, // AWT_VIEWER
45                               const char             *mark_pos_fig,
46                               long                    type_filter,
47                               const ad_item_selector *selector);
48
49void awt_map_arbdb_scanner(AW_CL arbdb_scanid, GBDATA *gb_pntr, int show_only_marked_flag, const char *key_path);
50
51#else
52#error db_scanner.hxx included twice
53#endif // DB_SCANNER_HXX
54
Note: See TracBrowser for help on using the repository browser.