| libgdamm Reference Documentation | 

| Public Member Functions | |
| Glib::RefPtr<Row> | copy () const | 
| Copy constructor. | |
| Glib::ustring | get_id () const | 
| Returns: the unique identifier for this row. | |
| bool | get_is_default (int num) const | 
| Tells if the value at column num in row must be considered as a default value. | |
| int | get_length () const | 
| 
 | |
| Glib::RefPtr<const DataModel> | get_model () const | 
| Gets the Gda::DataModel the given Gda::Row belongs to. | |
| Glib::RefPtr<DataModel> | get_model () | 
| Gets the Gda::DataModel the given Gda::Row belongs to. | |
| int | get_number () const | 
| Gets the number of the given row, that is, its position in its containing data model. | |
| Value | get_value (int num) const | 
| const GdaRow* | gobj () const | 
| Provides access to the underlying C GObject. | |
| GdaRow* | gobj () | 
| Provides access to the underlying C GObject. | |
| GdaRow* | gobj_copy () | 
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| void | set_id (const Glib::ustring& id) | 
| Assigns a new identifier to the given row. | |
| void | set_is_default (int num, bool is_default=true) | 
| void | set_model (const Glib::RefPtr<DataModel>& model) | 
| Set the Gda::DataModel the given Gda::Row belongs to. | |
| void | set_number (int number) | 
| Sets the row number for the given row. | |
| bool | set_value (int num, const Value& value) | 
| Sets the value stored at position num in row to be a copy of value . | |
| virtual | ~Row () | 
| Static Public Member Functions | |
| static Glib::RefPtr<Row> | create (const Glib::RefPtr<DataModel>& model, const GList* values) | 
| static Glib::RefPtr<Row> | create (const Glib::RefPtr<DataModel>& model, int count) | 
| Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Gnome::Gda::Row> | wrap (GdaRow* object, bool take_copy=false) | 
| A Glib::wrap() method for this object. | |
| virtual Gnome::Gda::Row::~Row | ( | ) |  [virtual] | 
| Glib::RefPtr<Row> Gnome::Gda::Row::copy | ( | ) | const | 
| static Glib::RefPtr<Row> Gnome::Gda::Row::create | ( | const Glib::RefPtr<DataModel>& | model, | |
| const GList * | values | |||
| ) |  [static] | 
| static Glib::RefPtr<Row> Gnome::Gda::Row::create | ( | const Glib::RefPtr<DataModel>& | model, | |
| int | count | |||
| ) |  [static] | 
| Glib::ustring Gnome::Gda::Row::get_id | ( | ) | const | 
Returns: the unique identifier for this row.
| bool Gnome::Gda::Row::get_is_default | ( | int | num | ) | const | 
Tells if the value at column num in row must be considered as a default value.
| num | Field index. | 
| int Gnome::Gda::Row::get_length | ( | ) | const | 
| Glib::RefPtr<const DataModel> Gnome::Gda::Row::get_model | ( | ) | const | 
| Glib::RefPtr<DataModel> Gnome::Gda::Row::get_model | ( | ) | 
| int Gnome::Gda::Row::get_number | ( | ) | const | 
Gets the number of the given row, that is, its position in its containing data model.
| Value Gnome::Gda::Row::get_value | ( | int | num | ) | const | 
| const GdaRow* Gnome::Gda::Row::gobj | ( | ) | const  [inline] | 
| GdaRow* Gnome::Gda::Row::gobj | ( | ) |  [inline] | 
| GdaRow* Gnome::Gda::Row::gobj_copy | ( | ) | 
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| void Gnome::Gda::Row::set_id | ( | const Glib::ustring & | id | ) | 
Assigns a new identifier to the given row.
This function is usually called by providers.
| id | New identifier for the row. | 
| void Gnome::Gda::Row::set_is_default | ( | int | num, | |
| bool | is_default = true | |||
| ) | 
| void Gnome::Gda::Row::set_model | ( | const Glib::RefPtr<DataModel>& | model | ) | 
Set the Gda::DataModel the given Gda::Row belongs to.
Note that calling this method should be reserved to GdaDataModel implementations and should therefore not be called by the user.
| model | A Gda::DataModel this row belongs to, or 0if the row is outside any data model. | 
| void Gnome::Gda::Row::set_number | ( | int | number | ) | 
Sets the row number for the given row.
| number | The new row number. | 
| bool Gnome::Gda::Row::set_value | ( | int | num, | |
| const Value& | value | |||
| ) | 
Sets the value stored at position num in row to be a copy of value .
| num | Field index. | |
| value | A G::Value to insert into row at the num position, or 0. | 
true if no error occurred. 
| Glib::RefPtr<Gnome::Gda::Row> wrap | ( | GdaRow * | object, | |
| bool | take_copy = false | |||
| ) |  [related] | 
A Glib::wrap() method for this object.
| object | The C instance. | |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |