DataModelIter
Object Hierarchy:
Description:
Namespace: Gda
Package: libgda-5.0
Content:
Properties:
- public int current_row { get; set; }
- public DataModel data_model { owned get; set construct; }
- public DataModel forced_model { owned get; set; }
- public bool update_model { get; set; }
Static methods:
- public static Quark error_quark ()
Creation methods:
- protected DataModelIter ()
Methods:
- public int get_column_for_param (Holder param)
Get the column number in the DataModel for which this is an iterator as represented by the
param
parameter - public unowned Holder get_holder_for_field (int col)
Fetch a pointer to the Holder object which is synchronized with data at column
col
- public int get_row ()
Get the row which this represents in the data model
- public unowned Value? get_value_at (int col)
Get the value stored at the column
col
in this. - public unowned Value? get_value_at_e (int col) throws Error
Get the value stored at the column
col
in this. - public unowned Value? get_value_for_field (string field_name)
Get the value stored at the column
field_name
in this - public void invalidate_contents ()
Declare all the parameters in this invalid, without modifying the DataModel this is for or changing the row it represents.
- public bool is_valid ()
Tells if this is a valid iterator (if it actually corresponds to a valid row in the model)
- public bool move_next ()
Moves this one row further than where it already is (synchronizes the values of the parameters in this with the values at the new row).
- public bool move_prev ()
Moves this one row before where it already is (synchronizes the values of the parameters in this with the values at the new row).
- public bool move_to_row (int row)
Synchronizes the values of the parameters in this with the values at the
row
row. - public bool set_value_at (int col, Value value) throws Error
Sets a value in this, at the column specified by
col
Signals:
- public virtual signal void end_of_data ()
Gets emitted when
iter
has reached the end of available data (which means the previous row it was on was the last one). - public virtual signal void row_changed (int row)
Gets emitted when the row
iter
is currently pointing has changed
Inherited Members:
All known members inherited from class Gda.Set
All known members inherited from class GLib.Object