VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_diffutil_change_t Struct Reference

represent a change to the model, each change assumes that previous changes have already been applied More...

#include <vlc_diffutil.h>

Collaboration diagram for vlc_diffutil_change_t:
[legend]

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
 

Detailed Description

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)

Field Documentation

◆ count

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().

◆ insert

struct vlc_diffutil_insert vlc_diffutil_change_t::insert

◆ move

struct vlc_diffutil_move vlc_diffutil_change_t::move

◆ [union]

union { ... } vlc_diffutil_change_t::op

◆ remove

struct vlc_diffutil_remove vlc_diffutil_change_t::remove

◆ type

enum vlc_diffutil_op_type vlc_diffutil_change_t::type

type of change operation

Referenced by buildResultInsert(), buildResultRemove(), and vlc_diffutil_gather_move_changes().


The documentation for this struct was generated from the following file: