gda.data_model_iter

Module for [DataModelIter] class

Types 4

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
DataModelIter self() nothrowReturns `this`, for use in `with` statements.
DataModelIterGidBuilder builder() static nothrowGet builder for [gda.data_model_iter.DataModelIter] Returns: New builder object
int currentRow() @property nothrow
void currentRow(int propval) @property nothrow
void dataModel(gda.data_model.DataModel propval) @property nothrow
void forcedModel(gda.data_model.DataModel propval) @property nothrow
bool updateModel() @property nothrow
void updateModel(bool propval) @property nothrow
glib.types.Quark errorQuark() static nothrow
int getColumnForParam(gda.holder.Holder param) nothrowGet the column number in the #GdaDataModel for which iter is an iterator as represented by the param parameter
gda.holder.Holder getHolderForField(int col) nothrowFetch a pointer to the #GdaHolder object which is synchronized with data at column col
int getRow() nothrowGet the row which iter represents in the data model Returns: the row number, or -1 if iter is invalid
gobject.value.Value getValueAt(int col) nothrowGet the value stored at the column col in iter. The returned value must not be modified.
gobject.value.Value getValueAtE(int col)Get the value stored at the column col in iter. The returned value must not be modified.
gobject.value.Value getValueForField(string fieldName) nothrowGet the value stored at the column field_name in iter
void invalidateContents() nothrowDeclare all the parameters in iter invalid, without modifying the #GdaDataModel iter is for or changing the row it represents. This method is for internal usage. Note that for [gda.data_model_iter....
bool isValid() nothrowTells if iter is a valid iterator (if it actually corresponds to a valid row in the model) Returns: TRUE if iter is valid
bool moveNext() nothrowMoves iter one row further than where it already is (synchronizes the values of the parameters in iter with the values at the new row).
bool movePrev() nothrowMoves iter one row before where it already is (synchronizes the values of the parameters in iter with the values at the new row).
bool moveToRow(int row) nothrowSynchronizes the values of the parameters in iter with the values at the row row.
bool setValueAt(int col, gobject.value.Value value)Sets a value in iter, at the column specified by col
gulong connectEndOfData(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gda.data_model_iter.DataModelIter))) && Parameters!T.length < 2) nothrowConnect to `EndOfData` signal.
gulong connectRowChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == int))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gda.data_model_iter.DataModelIter))) && Parameters!T.length < 3) nothrowConnect to `RowChanged` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gda.data_model_iter.DataModelIter

Methods
T currentRow(int propval) nothrow
T updateModel(bool propval) nothrow
Methods
DataModelIter build() nothrowCreate object from builder. Returns: New object
Constructors
this(GError * err)
this(Code code, string msg)