The abstration of an insertion of elements of a sequence B into a sequence A. This is used to represent the edit script for transforming a sequence A into a sequence B.
More...
#include <abg-diff-utils.h>
|
| insertion (int insertion_point, const vector< unsigned > &inserted_indexes) |
|
| insertion (int insertion_point=0) |
|
vector< unsigned > & | inserted_indexes () |
|
const vector< unsigned > & | inserted_indexes () const |
|
int | insertion_point_index () const |
|
void | insertion_point_index (int i) |
|
The abstration of an insertion of elements of a sequence B into a sequence A. This is used to represent the edit script for transforming a sequence A into a sequence B.
And insertion mainly encapsulates two components:
- An insertion point: this is the index (starting at 0) of the element of the sequence A after which the insertion occurs.
- Inserted elements: this is a vector of indexes of elements of sequence B (starting at 0) that got inserted into sequence A, after the insertion point.
Definition at line 564 of file abg-diff-utils.h.
The documentation for this class was generated from the following file: