|
Last change
on this file was
12043,
checked in by westram, 12 years ago
|
- reintegrates 'fix' into 'trunk' (fixes #519)
- this patch wasn't really straightforward, instead each change caused new unexpected side effects. It's quite likely that i didn't detect all of them.
- adds:
|
|
File size:
1.7 KB
|
| Line | |
|---|
| 1 | // ================================================================ // |
|---|
| 2 | // // |
|---|
| 3 | // File : gui_aliview.hxx // |
|---|
| 4 | // Purpose : // |
|---|
| 5 | // // |
|---|
| 6 | // Coded by Ralf Westram (coder@reallysoft.de) in November 2009 // |
|---|
| 7 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 8 | // http://www.arb-home.de/ // |
|---|
| 9 | // // |
|---|
| 10 | // ================================================================ // |
|---|
| 11 | |
|---|
| 12 | #ifndef GUI_ALIVIEW_HXX |
|---|
| 13 | #define GUI_ALIVIEW_HXX |
|---|
| 14 | |
|---|
| 15 | #ifndef ARBDB_BASE_H |
|---|
| 16 | #include <arbdb_base.h> |
|---|
| 17 | #endif |
|---|
| 18 | #ifndef ARBTOOLS_H |
|---|
| 19 | #include <arbtools.h> |
|---|
| 20 | #endif |
|---|
| 21 | |
|---|
| 22 | struct adfiltercbstruct; |
|---|
| 23 | class ColumnStat; |
|---|
| 24 | class AW_root; |
|---|
| 25 | class AW_awar; |
|---|
| 26 | class AP_filter; |
|---|
| 27 | class AP_weights; |
|---|
| 28 | class AliView; |
|---|
| 29 | |
|---|
| 30 | class WeightedFilter : virtual Noncopyable { |
|---|
| 31 | adfiltercbstruct *adfilter; |
|---|
| 32 | ColumnStat *column_stat; |
|---|
| 33 | |
|---|
| 34 | public: |
|---|
| 35 | WeightedFilter(GBDATA *gb_main, AW_root *aw_root, const char *awar_filter_name, const char *awar_columnStat_name, AW_awar *awar_default_alignment); |
|---|
| 36 | ~WeightedFilter(); |
|---|
| 37 | |
|---|
| 38 | GBDATA *get_gb_main() const; |
|---|
| 39 | AW_root *get_aw_root() const; |
|---|
| 40 | |
|---|
| 41 | adfiltercbstruct *get_adfiltercbstruct() { return adfilter; } |
|---|
| 42 | ColumnStat *get_column_stat() { return column_stat; } |
|---|
| 43 | |
|---|
| 44 | // factory functions |
|---|
| 45 | AP_filter *create_filter() const; |
|---|
| 46 | AP_weights *create_weights(const AP_filter *filter, GB_ERROR& error) const; |
|---|
| 47 | AliView *create_aliview(const char *aliname, GB_ERROR& error) const; |
|---|
| 48 | }; |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | #else |
|---|
| 52 | #error gui_aliview.hxx included twice |
|---|
| 53 | #endif // GUI_ALIVIEW_HXX |
|---|
Note: See
TracBrowser
for help on using the repository browser.