![]() |
![]() |
![]() |
GNOME Data Access 4.0 manual | ![]() |
---|---|---|---|---|
GdaPRowGdaPRow — A row within the GdaPModel data model |
#include <providers-support/gda-prow.h> GdaPRow; GdaPRow* gda_prow_new (gint count); gint gda_prow_get_length (GdaPRow *prow); GValue* gda_prow_get_value (GdaPRow *prow, gint num);
GdaPRow* gda_prow_new (gint count);
Creates a GdaPRow which can hold count
GValue values.
The caller of this function is the only owner of a reference to the newly created GdaPRow
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_prow_get_length (GdaPRow *prow);
prow : |
a GdaPRow. |
Returns : | the number of columns that the prow has.
|
GValue* gda_prow_get_value (GdaPRow *prow, gint num);
Gets a pointer to a GValue stored in a GdaPRow.
This is a pointer to the internal array of values. Don't try to free or modify it!
prow : |
a GdaPRow |
num : |
field index. |
Returns : | a pointer to the GValue in the position num of prow .
|