Builder of the diff array.
More...
#include <difflogarray.h>
Builder of the diff array.
Definition at line 52 of file difflogarray.h.
◆ DiffLogBuilderArray() [1/2]
OTest2::DiffLogBuilderArray::DiffLogBuilderArray |
( |
DiffLogArray * |
array_ | ) |
|
|
explicit |
Ctor.
- Parameters
-
array_ | The log array. The ownership is not taken! |
Definition at line 25 of file difflogarray.cpp.
◆ ~DiffLogBuilderArray()
OTest2::DiffLogBuilderArray::~DiffLogBuilderArray |
( |
| ) |
|
|
virtual |
◆ DiffLogBuilderArray() [2/2]
◆ addChange()
void OTest2::DiffLogBuilderArray::addChange |
( |
int |
left_index_, |
|
|
int |
right_index_ |
|
) |
| |
|
virtual |
Add change of both sequences.
- Parameters
-
left_index_ | index in the left sequence |
right_index_ | index in the right sequence |
Implements OTest2::DiffLogBuilder.
Definition at line 42 of file difflogarray.cpp.
◆ addDelete()
void OTest2::DiffLogBuilderArray::addDelete |
( |
int |
right_index_ | ) |
|
|
virtual |
◆ addInsert()
void OTest2::DiffLogBuilderArray::addInsert |
( |
int |
left_index_ | ) |
|
|
virtual |
◆ addMatch()
void OTest2::DiffLogBuilderArray::addMatch |
( |
int |
left_index_, |
|
|
int |
right_index_ |
|
) |
| |
|
virtual |
Add match of characters in both sequences.
- Parameters
-
left_index_ | index in the left sequence |
right_index_ | index in the right sequence |
Implements OTest2::DiffLogBuilder.
Definition at line 36 of file difflogarray.cpp.
◆ operator=()
The documentation for this class was generated from the following files: