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 vlc_diffutil_insert insert | ||
struct vlc_diffutil_remove remove | ||
struct vlc_diffutil_move move | ||
} | op | |
enum vlc_diffutil_op_type | type | |
type of change operation | ||
uint32_t | count | |
number of elements to be inserted/removed/moved | ||
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().
struct vlc_diffutil_insert vlc_diffutil_change_t::insert |
Referenced by buildResultInsert(), and vlc_diffutil_gather_move_changes().
struct vlc_diffutil_move 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_remove vlc_diffutil_change_t::remove |
Referenced by buildResultRemove(), and 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().