gda.data_comparator

Module for [DataComparator] class

Types 4

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
DataComparator self() nothrowReturns `this`, for use in `with` statements.
DataComparatorGidBuilder builder() static nothrowGet builder for [gda.data_comparator.DataComparator] Returns: New builder object
void newModel(gda.data_model.DataModel propval) @property nothrow
void oldModel(gda.data_model.DataModel propval) @property nothrow
glib.types.Quark errorQuark() static nothrow
bool computeDiff()Actually computes the differences between the data models for which comp is defined.
gda.diff.Diff getDiff(int pos) nothrowGet a pointer to the #GdaDiff structure representing the difference which number is pos
int getNDiffs() nothrowGet 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) nothrowDefines 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) nothrowConnect 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 old_model to new_model: if one applies all the computed differences (as #GdaDiff structures) to old_model, the resulting data model should h...
Methods
DataComparator build() nothrowCreate object from builder. Returns: New object
Constructors
this(GError * err)
this(Code code, string msg)