OTest2
A C++ testing framework
|
Go to the documentation of this file.
20 #ifndef OTest2__LIB_DIFFLOGBLOCK_H_
21 #define OTest2__LIB_DIFFLOGBLOCK_H_
virtual ~DiffLogBuilderBlock()
Dtor.
virtual void addMatch(int left_index_, int right_index_)
Add match of characters in both sequences.
std::vector< DiffBlock > DiffLogBlocks
Ordered (indexes into the sequences) list of diff changes.
DiffLogBuilderBlock & operator=(const DiffLogBuilderBlock &)=delete
Generic interface of the log builder.
DiffLogBuilderBlock(DiffLogBlocks *blocks_)
Ctor.
virtual void addInsert(int left_index_)
Add inserted item to the left sequence.
virtual void addDelete(int right_index_)
Add deleted item from the right sequence.
Log builder making records of whole blocks of changes.
virtual void addChange(int left_index_, int right_index_)
Add change of both sequences.