OTest2
A C++ testing framework
|
A diff change record. More...
#include <difflogarray.h>
Public Attributes | |
DiffAction | action |
int | left_index |
int | right_index |
A diff change record.
The structure contains a difference computed by the LCS algorithm. The action defines what has happened. The indexes point the touched item(s) in the source sequences. If the action is the CHANGE, both indexes are filled. If the action is the INSERT only left index is filled. If the action is the DELETE only right index is filled.
Definition at line 38 of file difflogarray.h.
DiffAction OTest2::DiffRecord::action |
the change: CHANGE, INSERT, DELETE
Definition at line 39 of file difflogarray.h.
int OTest2::DiffRecord::left_index |
index in the left sequence (valid: CHANGE, INSERT)
Definition at line 40 of file difflogarray.h.
int OTest2::DiffRecord::right_index |
index in the rigth sequence (valid: CHANGE, DELETE)
Definition at line 41 of file difflogarray.h.