ARB
|
Public Types | |
enum | memop { COPY_TO, COMPARE_WITH, CHECK_DELETE } |
Public Member Functions | |
AliData (size_t size_) | |
virtual | ~AliData () |
virtual size_t | unitsize () const =0 |
virtual bool | has_slice () const =0 |
void | clear_error () const |
void | set_error (GB_ERROR error) const |
virtual int | operate_on_mem (void *mem, size_t start, size_t count, memop op) const =0 |
virtual int | cmp_data (size_t start, const AliData &other, size_t ostart, size_t count) const =0 |
void | copyPartTo (void *mem, size_t start, size_t count) const |
int | cmpPartWith (const void *mem, size_t start, size_t count) const |
GB_ERROR | check_delete_allowed (size_t start, size_t count) const |
virtual UnitPtr | unit_left_of (size_t pos) const =0 |
virtual UnitPtr | unit_right_of (size_t pos) const =0 |
virtual AliDataPtr | create_gap (size_t gapsize, const UnitPair &gapinfo) const =0 |
virtual AliDataPtr | slice_down (size_t start, size_t count) const =0 |
size_t | elems () const |
size_t | memsize () const |
void | copyTo (void *mem) const |
bool | empty () const |
int | cmp_whole_data (const AliData &other) const |
bool | equals (const AliData &other) const |
bool | differs_from (const AliData &other) const |
bool | is_valid_pos (size_t pos) const |
bool | is_valid_between (size_t pos) const |
bool | is_valid_part (size_t start, size_t count) const |
Definition at line 65 of file insdel.cxx.
enum AliData::memop |
Enumerator | |
---|---|
COPY_TO | |
COMPARE_WITH | |
CHECK_DELETE |
Definition at line 76 of file insdel.cxx.
|
inline |
Definition at line 70 of file insdel.cxx.
|
inlinevirtual |
Definition at line 71 of file insdel.cxx.
|
pure virtual |
Implemented in LazyAliData, TypedAliData< T >, TypedAliData< char >, FINAL_TYPE< SEQTYPE >, and AliDataSlice.
Referenced by AliDataSlice::unitsize().
|
pure virtual |
Implemented in LazyAliData, TypedAliData< T >, TypedAliData< char >, FINAL_TYPE< SEQTYPE >, and AliDataSlice.
Referenced by AliDataSlice::make().
|
inline |
Definition at line 82 of file insdel.cxx.
References NULp.
|
inline |
Definition at line 83 of file insdel.cxx.
|
pure virtual |
Implemented in LazyAliData, SpecificAliData< T >, SpecificAliData< char >, SpecificGap< T >, FINAL_TYPE< SEQTYPE >, and AliDataSlice.
Referenced by AliDataSlice::operate_on_mem().
|
pure virtual |
Implemented in LazyAliData, SpecificAliData< T >, SpecificAliData< char >, SpecificGap< T >, FINAL_TYPE< SEQTYPE >, and AliDataSlice.
Referenced by AliDataSlice::cmp_data().
Definition at line 92 of file insdel.cxx.
Definition at line 93 of file insdel.cxx.
References id_assert.
Definition at line 97 of file insdel.cxx.
References id_assert, IF_ASSERTION_USED, min, and NULp.
Implemented in LazyAliData, TypedAliData< T >, TypedAliData< char >, FINAL_TYPE< SEQTYPE >, and AliDataSlice.
Referenced by AliDataSlice::unit_left_of().
Implemented in LazyAliData, TypedAliData< T >, TypedAliData< char >, FINAL_TYPE< SEQTYPE >, and AliDataSlice.
Referenced by AliDataSlice::unit_right_of().
|
pure virtual |
Implemented in LazyAliData, SequenceAliData, TypedAliData< T >, TypedAliData< char >, FINAL_TYPE< SEQTYPE >, and AliDataSlice.
Referenced by AliDataSlice::create_gap().
|
pure virtual |
Implemented in LazyAliData, TypedAliData< T >, TypedAliData< char >, FINAL_TYPE< SEQTYPE >, and AliDataSlice.
Referenced by AliDataSlice::make().
|
inline |
Definition at line 111 of file insdel.cxx.
Referenced by EditedTerminal::apply(), cmp_whole_data(), equals(), and AliDataSlice::make().
|
inline |
Definition at line 112 of file insdel.cxx.
Referenced by alidata2buffer().
|
inline |
Definition at line 113 of file insdel.cxx.
Referenced by alidata2buffer().
|
inline |
Definition at line 114 of file insdel.cxx.
Definition at line 116 of file insdel.cxx.
References cmp, compare_type(), elems(), and min.
|
inline |
Definition at line 124 of file insdel.cxx.
References elems().
|
inline |
Definition at line 130 of file insdel.cxx.
References arb_test::equals().
Referenced by EditedTerminal::apply().
|
inline |
Definition at line 132 of file insdel.cxx.
|
inline |
Definition at line 133 of file insdel.cxx.
Definition at line 135 of file insdel.cxx.