![]() |
![]() |
![]() |
GNOME Data Access 4.0 manual | ![]() |
---|---|---|---|---|
GdaDataModelArray's rowsGdaDataModelArray's rows — Row for a GdaDataModelArray object |
GdaRow; GdaRow* gda_row_new (gint count); gint gda_row_get_length (GdaRow *row); GValue* gda_row_get_value (GdaRow *row, gint num);
The GdaDataModelArray object uses GdaRow to store each row of data. Each GdaRow has the same number of GValue values (equal to the number of columns of the data model).
As a side note, the GdaRow object is also used internally by the implementation of the data models returned when executing a SELECT statement.
GdaRow* gda_row_new (gint count);
Creates a GdaRow which can hold count
GValue values.
The caller of this function is the only owner of a reference to the newly created GdaRow
object, even if model
is not NULL
(it is recommended to pass NULL
as the model
argument
if this function is not called from within a GdaDataModel implementation).
gint gda_row_get_length (GdaRow *row);
|
a GdaRow. |
Returns : |
the number of columns that the row has.
|