gda.data_comparator

Module for [DataComparator] class

Types 4

Methods
GType _gType() @property
DataComparator self()Returns `this`, for use in `with` statements.
DataComparatorGidBuilder builder()Get builder for [gda.data_comparator.DataComparator] Returns: New builder object
void newModel(gda.data_model.DataModel propval) @property
void oldModel(gda.data_model.DataModel propval) @property
bool computeDiff()Actually computes the differences between the data models for which comp is defined.
gda.diff.Diff getDiff(int pos)Get a pointer to the #GdaDiff structure representing the difference which number is pos
int getNDiffs()Get the number of differences as computed by the last time [gda.data_comparator.DataComparator.computeDiff] was called. Returns: the number of computed differences
void setKeyColumns(int[] colNumbers)Defines the columns which will be used as a key when searching data. This is not mandatory but will speed things up as less data will be processed.
gulong connectDiffComputed(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == void *))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.data_comparator.DataComparator))) && Parameters!T.length < 3)Connect to `DiffComputed` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this(gda.data_model.DataModel oldModel, gda.data_model.DataModel newModel)Creates a new comparator to compute the differences from oldmodel to newmodel: if one applies all the computed differences (as #GdaDiff structures) to oldmodel, the resulting data model should have...

Fluent builder for [gda.data_comparator.DataComparator]

Constructors
this(GError * err)
this(Code code, string msg)