GdaDataModelRow
GdaDataModelRow — Base implementation for other objects to implement the GdaDataModel interface based on the usage of
|
|
Implemented Interfaces
GdaDataModelRow implements
GdaDataModel.
Description
This object is not intended to be instanciated directly, but to be inherited.
Details
GdaDataModelRow
typedef struct _GdaDataModelRow GdaDataModelRow;
GdaDataModelRowClass
typedef struct {
GdaObjectClass parent_class;
/* virtual methods */
gint (* get_n_rows) (GdaDataModelRow *model);
gint (* get_n_columns) (GdaDataModelRow *model);
GdaRow *(* get_row) (GdaDataModelRow *model, gint row, GError **error);
const GdaValue *(* get_value_at) (GdaDataModelRow *model, gint col, gint row);
gboolean (* is_updatable) (GdaDataModelRow *model);
GdaRow *(* append_values) (GdaDataModelRow *model, const GList *values, GError **error);
gboolean (* append_row) (GdaDataModelRow *model, GdaRow *row, GError **error);
gboolean (* update_row) (GdaDataModelRow *model, GdaRow *row, GError **error);
gboolean (* remove_row) (GdaDataModelRow *model, GdaRow *row, GError **error);
} GdaDataModelRowClass;
GdaDataModelRowPrivate
typedef struct _GdaDataModelRowPrivate GdaDataModelRowPrivate;
Properties
The "command-text
" property
"command-text" gchararray : Read / Write
Default value: NULL
The "command-type
" property
"command-type" gint : Read / Write
Allowed values: [0,5]
Default value: 5
The "read-only
" property
"read-only" gboolean : Read / Write
Default value: FALSE