Public Methods | |
Gap_ (size_t P=0, size_t L=1) | |
Inits a gap before ungapped position P with length L. | |
size_t | pos () const |
void | pos (size_t P) |
size_t | len () const |
void | len (size_t L) |
Private Attributes | |
size_t | Pos |
position before gap is inserted [0..NPOS]. | |
size_t | Len |
length of gap, >0. | |
Friends | |
class | Gapseq_ |
A gapped sequence then contains a list of Gap_-s and the insertion/deletion of gaps does not change the underlying original sequence itself. A placeholder gap before the sequence has position 0, and position NPOS after the sequence.
Definition at line 74 of file Gapseq.hh.
|
Inits a gap before ungapped position P with length L.
|
|
|
|
|
|
|
|
|
|
|
|
position before gap is inserted [0..NPOS].
|
|
length of gap, >0.
|