11 #ifndef BI_BASEPOS_HXX
12 #define BI_BASEPOS_HXX
25 #define bi_assert(bed) arb_assert(bed)
34 for (
int i = 0; i<256; ++i) {
40 bool applies(
unsigned char c)
const {
return isTrue[c]; }
83 if (abs > absLen) abs = absLen;
92 if (rel >= baseCount) rel = baseCount-1;
116 #error BI_basepos.hxx included twice
117 #endif // BI_BASEPOS_HXX
int rel_2_abs(int rel) const
CONSTEXPR_INLINE unsigned char safeCharIndex(char c)
void initialize(const char *seq, int size)
static char * alignment_name
CharPredicate(char_predicate_fun is_true)
BasePosition(const char *seq, int size)
char_predicate_fun is_gap_fun
int abs_2_rel(int abs) const
bool applies(int i) const
void init(const char *seq, int size)
bool(* char_predicate_fun)(char)
bool applies(unsigned char c) const
BasePosition(const char *seq, int size, const CharPredicate &is_gap)
int first_base_abspos() const
int last_base_abspos() const
bool applies(char c) const