12 #ifndef FAST_ALIGNER_HXX
13 #define FAST_ALIGNER_HXX
24 #ifndef _GLIBCXX_STRING
28 #define INTEGRATED_ALIGNERS_TITLE "Integrated Aligners"
30 typedef char* (*Aligner_get_consensus_func)(
const char *species_name,
PosRange range);
32 typedef GBDATA* (*Aligner_get_first_selected_species)(
int *total_no_of_selected_species);
33 typedef GBDATA* (*Aligner_get_next_selected_species)(void);
53 const char *alignment_name_,
55 void (*refresh_display_)(),
62 alignment_name(alignment_name_),
63 do_refresh(do_refresh_),
65 get_group_consensus(get_group_consensus_),
66 get_selected_range(get_selected_range_),
67 get_first_selected_species(get_first_selected_species_),
68 get_next_selected_species(get_next_selected_species_),
69 get_helix_string(get_helix_string_)
73 : gb_main(other.gb_main),
74 alignment_name(other.alignment_name),
75 do_refresh(other.do_refresh),
77 get_group_consensus(other.get_group_consensus),
78 get_selected_range(other.get_selected_range),
79 get_first_selected_species(other.get_first_selected_species),
80 get_next_selected_species(other.get_next_selected_species),
81 get_helix_string(other.get_helix_string)
101 #error fast_aligner.hxx included twice
102 #endif // FAST_ALIGNER_HXX
return string(buffer, length)
void FastAligner_create_variables(AW_root *root, AW_default db1)
AW_window * FastAligner_create_window(AW_root *awr, const AlignDataAccess *data_access)
void FastAligner_start(AW_window *aw, const AlignDataAccess *data_access)
Aligner_get_first_selected_species get_first_selected_species
ARB_ERROR FastAligner_delete_temp_entries(GBDATA *gb_main, const char *alignment)
bool(* Aligner_get_selected_range)(PosRange &range)
void FastAligner_set_align_current(AW_root *root, AW_default db1)
static char * alignment_name
std::string alignment_name
AlignDataAccess(const AlignDataAccess &other)
Aligner_get_next_selected_species get_next_selected_species
char *(* Aligner_get_consensus_func)(const char *species_name, PosRange range)
DECLARE_ASSIGNMENT_OPERATOR(AlignDataAccess)
AlignDataAccess(GBDATA *gb_main_, const char *alignment_name_, bool do_refresh_, void(*refresh_display_)(), Aligner_get_consensus_func get_group_consensus_, Aligner_get_selected_range get_selected_range_, Aligner_get_first_selected_species get_first_selected_species_, Aligner_get_next_selected_species get_next_selected_species_, Aligner_get_helix_string get_helix_string_)
void FastAligner_set_reference_species(AW_root *root)
void(* refresh_display)()
GBDATA *(* Aligner_get_first_selected_species)(int *total_no_of_selected_species)
char * getHelixString() const
char *(* Aligner_get_helix_string)(GBDATA *gb_main, const char *alignment_name)
Aligner_get_selected_range get_selected_range
GBDATA *(* Aligner_get_next_selected_species)(void)
Aligner_get_consensus_func get_group_consensus
Aligner_get_helix_string get_helix_string