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

Moves the data from position model[ from ] to model[ to ] the data is available either at newModel[ y ] or oldModel[ x ]. More...

#include <vlc_diffutil.h>

Data Fields

uint32_t from
 move origin
 
uint32_t to
 move destination
 
uint32_t x
 data position in the old model
 
uint32_t y
 data position in the new model
 

Detailed Description

Moves the data from position model[ from ] to model[ to ] the data is available either at newModel[ y ] or oldModel[ x ].

the positions from and to are given in the referenrial before the operation

model = "aBCdefg"
after operation move(from=1, to=5, count=2), model will be
model = "adeCBfg"
size_t count
Definition core.c:403
uint32_t from
move origin
Definition vlc_diffutil.h:137
uint32_t to
move destination
Definition vlc_diffutil.h:139

Field Documentation

◆ from

uint32_t vlc_diffutil_move::from

move origin

Referenced by vlc_diffutil_gather_move_changes().

◆ to

uint32_t vlc_diffutil_move::to

move destination

Referenced by vlc_diffutil_gather_move_changes().

◆ x

uint32_t vlc_diffutil_move::x

data position in the old model

Referenced by vlc_diffutil_gather_move_changes().

◆ y

uint32_t vlc_diffutil_move::y

data position in the new model

Referenced by vlc_diffutil_gather_move_changes().


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