DataComparator
Description:
[ CCode ( has_construct_function = false , type = "GObject*" ) ]
public DataComparator (DataModel old_model, DataModel new_model)
public DataComparator (DataModel old_model, DataModel new_model)
Creates a new comparator to compute the differences from old_model
to new_model
: if one applies all the computed
differences (as Diff structures) to old_model
, the resulting data model
should have the same contents as new_model
.
Parameters:
old_model |
Data model to which the modifications should be applied |
new_model |
Target data model. |
Returns:
a new DataComparator object |