16 #ifndef SQ_GROUPDATA_H
17 #define SQ_GROUPDATA_H
19 #ifndef _GLIBCXX_CSTDDEF
22 #ifndef _GLIBCXX_IOSTREAM
32 #define seq_assert(bed) arb_assert(bed)
87 template <
int I>
class Int {
98 memset(i, 0,
I*
sizeof(
int));
102 const int *otheri = other.
i;
103 for (
int j = 0; j<
I; ++j) {
110 memcpy(i, other.
i,
I*
sizeof(
int));
117 SQ_GroupData_Impl& operator = (
const SQ_GroupData_Impl& Other);
126 const SQ_GroupData_Impl& other =
dynamic_cast<const SQ_GroupData_Impl&
>(Other);
161 Base::operator=(other);
191 for (
int i = 0; i<
size; ++i) {
200 for (
int i=0; i <
size; i++) {
201 for (
int j = 0; j<
I; j++) {
209 #error SQ_GroupData.h included twice
bool SQ_is_initialized() const
virtual SQ_GroupData & operator=(const SQ_GroupData &other)=0
virtual void SQ_add_sequence(const char *sequence)=0
void SQ_count_sequences()
virtual consensus_result SQ_calc_consensus(const char *sequence) const =0
virtual SQ_GroupData * clone() const =0
int SQ_get_avg_bases() const
virtual int SQ_print_on_screen()=0
void SQ_set_avg_bases(int bases)
Int & operator+=(const Int &other)
virtual void SQ_add(const SQ_GroupData &other)=0
SQ_GroupData_RNA * clone() const OVERRIDE
Int & operator=(const Int &other)
~SQ_GroupData_Impl() OVERRIDE
int SQ_get_nr_sequences() const
virtual void SQ_init_consensus(int size)=0
void SQ_set_avg_gc(double gc)
void SQ_init_consensus(int size) FINAL_OVERRIDE
void SQ_add(const SQ_GroupData &other) OVERRIDE
double SQ_get_avg_gc() const
int SQ_print_on_screen() OVERRIDE
GB_write_int const char s