|
VLC 4.0.0-dev
|
represent a change to the model, each change assumes that previous changes have already been applied More...
#include <vlc_diffutil.h>
Data Fields | |
| union { | |
| struct { | |
| uint32_t x | |
| data position in the old model More... | |
| uint32_t y | |
| data position in the new model More... | |
| uint32_t index | |
| insertion position in the updated model More... | |
| } insert | |
| struct { | |
| uint32_t x | |
| data position in the old model More... | |
| uint32_t y | |
| data position in the new model More... | |
| uint32_t index | |
| removal position in the updated model More... | |
| } remove | |
| struct { | |
| uint32_t from | |
| move origin More... | |
| uint32_t to | |
| move destination More... | |
| uint32_t x | |
| data position in the old model More... | |
| uint32_t y | |
| data position in the new model More... | |
| } move | |
| } | op |
| enum vlc_diffutil_op_type | type |
| type of change operation More... | |
| uint32_t | count |
| number of elements to be inserted/removed/moved More... | |
represent a change to the model, each change assumes that previous changes have already been applied
for instance with a model "aBcDef", the operations [remove(index=1, count=1), remove(index=2, count=1)] will result in "acef" (with "acDef" as intermediary step)
| uint32_t vlc_diffutil_change_t::count |
number of elements to be inserted/removed/moved
Referenced by buildResultInsert(), buildResultRemove(), and vlc_diffutil_gather_move_changes().
| uint32_t vlc_diffutil_change_t::from |
move origin
Referenced by vlc_diffutil_gather_move_changes().
| uint32_t vlc_diffutil_change_t::index |
insertion position in the updated model
removal position in the updated model
Referenced by vlc_diffutil_gather_move_changes().
| struct { ... } vlc_diffutil_change_t::insert |
Referenced by buildResultInsert(), and vlc_diffutil_gather_move_changes().
| struct { ... } vlc_diffutil_change_t::move |
Referenced by vlc_diffutil_gather_move_changes().
| union { ... } vlc_diffutil_change_t::op |
Referenced by buildResultInsert(), buildResultRemove(), and vlc_diffutil_gather_move_changes().
| struct { ... } vlc_diffutil_change_t::remove |
Referenced by buildResultRemove(), and vlc_diffutil_gather_move_changes().
| uint32_t vlc_diffutil_change_t::to |
move destination
Referenced by vlc_diffutil_gather_move_changes().
| enum vlc_diffutil_op_type vlc_diffutil_change_t::type |
type of change operation
Referenced by buildResultInsert(), buildResultRemove(), and vlc_diffutil_gather_move_changes().
| uint32_t vlc_diffutil_change_t::x |
data position in the old model
Referenced by buildResultRemove(), and vlc_diffutil_gather_move_changes().
| uint32_t vlc_diffutil_change_t::y |
data position in the new model
Referenced by buildResultInsert(), and vlc_diffutil_gather_move_changes().