The structure representing difference between source and destination items.
More...
#include <SUIT_TreeSync.h>
template<class SrcItem, class TrgItem>
struct DiffItem< SrcItem, TrgItem >
The different combinations of source and target items values imply the different actions to be performed in the target data tree:
- source item is null, target item is not null : the item should be removed from the target tree
- source item is not null, target item is null : new item should be added to the target tree
- both source and target items are not null : the target item can be updated if necessary
- both source and target items are null : error
template<class SrcItem, class TrgItem>
SrcItem DiffItem< SrcItem, TrgItem >::mySrc |
template<class SrcItem, class TrgItem>
TrgItem DiffItem< SrcItem, TrgItem >::myTrg |
The documentation for this struct was generated from the following file: