GdaDataModelRow

GdaDataModelRow — Base implementation for other objects to implement the GdaDataModel interface based on the usage of

Synopsis

                    GdaDataModelRow;
                    GdaDataModelRowClass;
                    GdaDataModelRowPrivate;

Object Hierarchy

  GObject
   +----GdaDataModelRow
         +----GdaDataModelArray

Implemented Interfaces

GdaDataModelRow implements GdaDataModel.

Properties

  "read-only"                gboolean              : Read / Write

Description

This object is not intended to be instanciated directly, but to be inherited.

Details

GdaDataModelRow

typedef struct _GdaDataModelRow GdaDataModelRow;


GdaDataModelRowClass

typedef struct {
	GObjectClass            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 GValue       *(* 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;

Property Details

The "read-only" property

  "read-only"                gboolean              : Read / Write

Default value: FALSE