Créer  Editer  FrontPage  Index  Chercher  Changements  History  RSS  Login

Gda::DataModelArray

class Gda::DataModelArray

An implementation of Gda::DataModel based on an array.

Class Methods

Gda::DataModelArray.new(n_columns)
This method returns a reference to a newly created Gda::DataModelArray object.
  • n_columns: number of columns for rows of this data model.
  • Returns: a reference to a newly created Gda::DataModelArray object.

Instance Methods

clear
Frees all the rows inserted in this model.
  • Returns: self.
n_columns=(n_columns)
Sets the number of columns for rows inserted in this model.
  • n_columns: number of columns for rows this data model should use (must be greated than or equal to 0).
  • Returns: the given parameter 'n_columns'.
set_n_columns(n_columns)
Sets the number of columns for rows inserted in this model.
  • n_columns: number of columns for rows this data model should use (must be greated than or equal to 0).
  • Returns: self.
Dernière modification:2011/06/08 14:02:50
Mots clef:
Références:[Gda::DataModel] [Gda::Select] [Gda::DataModelArray] [Gda::Table]