Log builder making records of whole blocks of changes.
More...
#include <difflogblock.h>
Log builder making records of whole blocks of changes.
Definition at line 47 of file difflogblock.h.
◆ DiffLogBuilderBlock() [1/2]
OTest2::DiffLogBuilderBlock::DiffLogBuilderBlock |
( |
DiffLogBlocks * |
blocks_ | ) |
|
|
explicit |
Ctor.
- Parameters
-
blocks_ | Injected array of diff blocks |
Definition at line 38 of file difflogblock.cpp.
◆ ~DiffLogBuilderBlock()
OTest2::DiffLogBuilderBlock::~DiffLogBuilderBlock |
( |
| ) |
|
|
virtual |
◆ DiffLogBuilderBlock() [2/2]
◆ addChange()
void OTest2::DiffLogBuilderBlock::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 70 of file difflogblock.cpp.
◆ addDelete()
void OTest2::DiffLogBuilderBlock::addDelete |
( |
int |
right_index_ | ) |
|
|
virtual |
◆ addInsert()
void OTest2::DiffLogBuilderBlock::addInsert |
( |
int |
left_index_ | ) |
|
|
virtual |
◆ addMatch()
void OTest2::DiffLogBuilderBlock::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 61 of file difflogblock.cpp.
◆ operator=()
The documentation for this class was generated from the following files: