Adds the data from an XML node to the given data model (see the DTD for that node in the $prefix/share/libgda/dtd/libgda-array.dtd file).
Appends a row to the data model (the new row will possibly have NULL values for all columns, or some other values depending on the data model implementation)
Appends a row to the given data model. If any value in values is actually null, then it is considered as a default value. If values is null then all values are set to their default value.
Makes a copy of src into a new #GdaDataModelArray object
Like gda.data_model.DataModel.arrayCopyModel, makes a copy of src, but copies only some columns.
Creates a new iterator object #GdaDataModelIter object which can be used to iterate through rows in model. The new #GdaDataModelIter does not hold any reference to model (ie. if model is destroyed at some point, the new iterator will become useless but in any case it will not prevent the data model from being destroyed).
Queries the underlying data model implementation for a description of a given column. That description is returned in the form of a #GdaColumn structure, which contains all the information about the given column in the data model.
Dumps a textual representation of the model to the to_stream stream
Dumps a textual representation of the model into a new string. The main differences with gda.data_model.DataModel.exportToString are that the formatting options are passed using environment variables, and that the data is dumped regardless of the user locale (e.g. dates are not formatted according to the locale).
Exports data contained in model to the file file; the format is specified using the format argument. Note that the date format used is the one used by the connection from which the data model has been made (as the result of a SELECT statement), or, for other kinds of data models, the default format (refer to gda.data_handler.DataHandler.getDefault) unless the "cnc" property has been set and points to a #GdaConnection to use that connection's date format.
Exports data contained in model to a string; the format is specified using the format argument, see the gda.data_model.DataModel.exportToFile documentation for more information about the options argument (except for the "OVERWRITE" option).
Disables notifications of changes on the given data model. To re-enable notifications again, you should call the #gda_data_model_thaw function.
Get the attributes of model such as how to access the data it contains if it's modifiable, etc.
Get the attributes of the value stored at (row, col) in model, which is an ORed value of #GdaValueAttribute flags. As a special case, if row is -1, then the attributes returned correspond to a "would be" value if a row was added to model.
Get the index of the first column named name in model.
Returns the status of notifications changes on the given data model.
Upon errors null will be returned and error will be assigned a #GError from the #GDA_DATA_MODEL_ERROR domain.
Retrieves the data stored in the given position (identified by the col and row parameters) on a data model.
Moves iter to the row number given by row.
Moves iter to the next row in model.
Moves iter to the next row in model.
Set value to the given column and row pointed by iter in the given model.
Removes a row from the data model.
Emits the 'reset' and 'changed' signal on model.
Emits the 'row_inserted' and 'changed' signals on model.
Emits the 'row_removed' and 'changed' signal on model.
Emits the 'row_updated' and 'changed' signals on model.
Sends a hint to the data model. The hint may or may not be handled by the data model, depending on its implementation
Sets the name of the given col in model, and if its title is not set, also sets the title to name.
Sets the title of the given col in model.
Enable or disable notifications changes on the given data model.
Modifies a value in model, at (col, row).
In a similar way to gda.data_model.DataModel.setValueAt, this method modifies a data model's contents by setting several values at once.
Re-enables notifications of changes on the given data model.
Connect to AccessChanged signal.
Connect to Changed signal.
Connect to Reset signal.
Connect to RowInserted signal.
Connect to RowRemoved signal.
Connect to RowUpdated signal.
Adds the data from an XML node to the given data model (see the DTD for that node in the $prefix/share/libgda/dtd/libgda-array.dtd file).
Appends a row to the data model (the new row will possibly have NULL values for all columns, or some other values depending on the data model implementation)
Appends a row to the given data model. If any value in values is actually null, then it is considered as a default value. If values is null then all values are set to their default value.
Makes a copy of src into a new #GdaDataModelArray object
Like gda.data_model.DataModel.arrayCopyModel, makes a copy of src, but copies only some columns.
Creates a new iterator object #GdaDataModelIter object which can be used to iterate through rows in model. The new #GdaDataModelIter does not hold any reference to model (ie. if model is destroyed at some point, the new iterator will become useless but in any case it will not prevent the data model from being destroyed).
Queries the underlying data model implementation for a description of a given column. That description is returned in the form of a #GdaColumn structure, which contains all the information about the given column in the data model.
Dumps a textual representation of the model to the to_stream stream
Dumps a textual representation of the model into a new string. The main differences with gda.data_model.DataModel.exportToString are that the formatting options are passed using environment variables, and that the data is dumped regardless of the user locale (e.g. dates are not formatted according to the locale).
Exports data contained in model to the file file; the format is specified using the format argument. Note that the date format used is the one used by the connection from which the data model has been made (as the result of a SELECT statement), or, for other kinds of data models, the default format (refer to gda.data_handler.DataHandler.getDefault) unless the "cnc" property has been set and points to a #GdaConnection to use that connection's date format.
Exports data contained in model to a string; the format is specified using the format argument, see the gda.data_model.DataModel.exportToFile documentation for more information about the options argument (except for the "OVERWRITE" option).
Disables notifications of changes on the given data model. To re-enable notifications again, you should call the #gda_data_model_thaw function.
Get the attributes of model such as how to access the data it contains if it's modifiable, etc.
Get the attributes of the value stored at (row, col) in model, which is an ORed value of #GdaValueAttribute flags. As a special case, if row is -1, then the attributes returned correspond to a "would be" value if a row was added to model.
Get the index of the first column named name in model.
Returns the status of notifications changes on the given data model.
Upon errors null will be returned and error will be assigned a #GError from the #GDA_DATA_MODEL_ERROR domain.
Retrieves the data stored in the given position (identified by the col and row parameters) on a data model.
Moves iter to the row number given by row.
Moves iter to the next row in model.
Moves iter to the next row in model.
Set value to the given column and row pointed by iter in the given model.
Removes a row from the data model.
Emits the 'reset' and 'changed' signal on model.
Emits the 'row_inserted' and 'changed' signals on model.
Emits the 'row_removed' and 'changed' signal on model.
Emits the 'row_updated' and 'changed' signals on model.
Sends a hint to the data model. The hint may or may not be handled by the data model, depending on its implementation
Sets the name of the given col in model, and if its title is not set, also sets the title to name.
Sets the title of the given col in model.
Enable or disable notifications changes on the given data model.
Modifies a value in model, at (col, row).
In a similar way to gda.data_model.DataModel.setValueAt, this method modifies a data model's contents by setting several values at once.
Re-enables notifications of changes on the given data model.
Connect to AccessChanged signal.
Connect to Changed signal.
Connect to Reset signal.
Connect to RowInserted signal.
Connect to RowRemoved signal.
Connect to RowUpdated signal.
Proxy object for gda.data_model.DataModel interface when a GObject has no applicable D binding