Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Back  Login

Gda::DataModelArray Diff - Ruby-GNOME2 Project Website

  • Added parts are displayed like this.
  • Deleted parts are displayed like this.

= class Gda::DataModelArray
An implementation of Gda::DataModel based on an array.

== Object Hierarchy
* Object
  * GLib::Instantiatable
    * GLib::Object
      * Gda::DataModel
        * Gda::DataModelArray

== 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.

== See Also
((<Gda::Select>)), ((<Gda::Table>)), ((<Gda>)).

- ((<lrz>))