![]() |
![]() |
![]() |
GNOME Data Access 4 manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
GdaDataModelArray's rowsGdaDataModelArray's rows — Row for a GdaDataModelArray object |
struct 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.
gint gda_row_get_length (GdaRow *row
);
|
a GdaRow. |
Returns : |
the number of columns that the row has. |
GValue * gda_row_get_value (GdaRow *row
,gint num
);
Gets a pointer to a GValue stored in a GdaRow.
This is a pointer to the internal array of values. Don't try to free or modify it (modifying is reserved to database provider's implementations).
|
a GdaRow |
|
field index. |
Returns : |
a pointer to the GValue in the position num of row . [transfer none]
|