OTest2
A C++ testing framework
|
Go to the documentation of this file.
28 assert(next !=
nullptr);
39 next->
addMatch(right_index_, left_index_);
45 next->
addChange(right_index_, left_index_);
virtual void addMatch(int left_index_, int right_index_)
Add match of characters in both sequences.
virtual void addMatch(int left_index_, int right_index_)=0
Add match of characters in both sequences.
virtual void addDelete(int right_index_)
Add deleted item from the right sequence.
virtual void addChange(int left_index_, int right_index_)
Add change of both sequences.
Generic interface of the log builder.
DiffLogBuilderReverse(DiffLogBuilder *next_)
Ctor.
virtual void addInsert(int left_index_)
Add inserted item to the left sequence.
virtual ~DiffLogBuilderReverse()
Dtor.
virtual void addChange(int left_index_, int right_index_)=0
Add change of both sequences.
virtual void addInsert(int left_index_)=0
Add inserted item to the left sequence.
virtual void addDelete(int right_index_)=0
Add deleted item from the right sequence.