24 #ifndef AP_SEQUENCE_HXX
29 #define at_assert(cond) arb_assert(cond)
39 #ifdef GCC_TOO_SMART_FOR_USEFUL_FINAL_TYPE_SUGGESTION
40 # pragma GCC diagnostic push
41 # pragma GCC diagnostic ignored "-Wsuggest-final-types"
54 bool addDeleteCallbacks;
97 #ifdef GCC_TOO_SMART_FOR_USEFUL_FINAL_TYPE_SUGGESTION
98 # pragma GCC diagnostic pop
132 void unloadSequences();
166 #ifndef UNIT_TESTS // UT_DIFF
181 #define OVERRIDE_SEQ_ACCESSORS(SEQTYPE,BASETREETYPE) \
182 SEQTYPE *get_seq() { return DOWNCAST(SEQTYPE*,BASETREETYPE::get_seq()); } \
183 const SEQTYPE *get_seq() const { return DOWNCAST(const SEQTYPE*,BASETREETYPE::get_seq()); } \
184 SEQTYPE *set_seq(AP_sequence *sequence) { return DOWNCAST(SEQTYPE*, BASETREETYPE::set_seq(sequence)); } \
220 #error ARB_Tree.hxx included twice
221 #endif // ARB_TREE_HXX
GBDATA * get_gb_main() const
const AliView * get_aliview() const
void compute_tree() OVERRIDE
#define implicated(hypothesis, conclusion)
bool is_upper_son() const
PREPARE_MARK_NONFINAL_CLASS(ARB_seqtree_root)
char * ARB_strdup(const char *str)
void calcTreeInfo(ARB_tree_info &info)
ARB_seqtree_root(AliView *aliView, AP_sequence *seqTempl, bool add_delete_callbacks)
const AP_weights * get_weights() const
const AP_filter * get_filter() const
MARK_NONFINAL_FUNCTION(ARB_seqtree_root, GB_ERROR, loadFromDB,(const char *), NULp)
size_t relative_position_in(const ARB_countedTree *upgroup) const
void replace_seq(AP_sequence *sequence)
const char * get_tree_name() const
MARK_NONFINAL_CLASS(ARB_seqtree_root)
GBDATA * get_gb_tree() const
DEFINE_TREE_ACCESSORS(ARB_seqtree_root, ARB_seqtree)
const AP_weights * get_weights() const
virtual GB_ERROR saveToDB() __ATTR__USERESULT
virtual bool selects(const ARB_seqtree &tree) const =0
virtual GB_ERROR loadFromDB(const char *name) __ATTR__USERESULT
DEFINE_TREE_ACCESSORS(ARB_seqtree_root, ARB_countedTree)
const AP_sequence * get_seq() const
AP_sequence * set_seq(AP_sequence *sequence)
ARB_countedTree(ARB_seqtree_root *tree_root_)
const AP_filter * get_filter() const
DEFINE_TREE_ROOT_ACCESSORS(ARB_seqtree_root, ARB_seqtree)
~ARB_seqtree_root() OVERRIDE
~ARB_countedTree() OVERRIDE
virtual ~ARB_tree_predicate()
virtual void init_tree()=0
GB_ERROR linkToDB(int *zombies, int *duplicates) __ATTR__USERESULT
#define __ATTR__USERESULT
bool contains_marked_species()
void(* ARB_tree_node_del_cb)(GBDATA *, class ARB_seqtree *)
void set_gb_tree_and_name(GBDATA *gbTree, const char *name)
const AP_sequence * get_seqTemplate() const
static int info[maxsites+1]
bool is_lower_son() const
GBDATA * get_gb_main() const
void set_gb_tree(GBDATA *gbTree)
void tree_deleted_cb(GBDATA *gb_tree_del)