Gnome::Gda::DataModelRow Class Reference

Base implementation for other objects to implement the DataModel interface based on the use of rows. More...

#include <datamodelrow.h>

Inheritance diagram for Gnome::Gda::DataModelRow:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~DataModelRow ()
GdaDataModelRow* gobj ()
 Provides access to the underlying C GObject.
const GdaDataModelRow* gobj () const
 Provides access to the underlying C GObject.
GdaDataModelRow* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
const Glib::RefPtr<Rowget_row (int row, std::auto_ptr<Glib::Error>& error)
 Finds the Gda::Row object corresponding to the row row number.
const Glib::RefPtr< const
Row
get_row (int row, std::auto_ptr<Glib::Error>& error) const
 Finds the Gda::Row object corresponding to the row row number.

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gnome::Gda::DataModelRowwrap (GdaDataModelRow* object, bool take_copy=false)

Detailed Description

Base implementation for other objects to implement the DataModel interface based on the use of rows.

This object is not intended to be instantiated directly, but to be used as a base class.


Constructor & Destructor Documentation

virtual Gnome::Gda::DataModelRow::~DataModelRow (  )  [virtual]


Member Function Documentation

const Glib::RefPtr<const Row> Gnome::Gda::DataModelRow::get_row ( int  row,
std::auto_ptr< Glib::Error > &  error 
) const

Finds the Gda::Row object corresponding to the row row number.

Parameters:
row The row number to fetch.
Returns:
The Gda::Row, or 0 if not found.

const Glib::RefPtr<Row> Gnome::Gda::DataModelRow::get_row ( int  row,
std::auto_ptr< Glib::Error > &  error 
)

Finds the Gda::Row object corresponding to the row row number.

Parameters:
row The row number to fetch.
Returns:
The Gda::Row, or 0 if not found.

const GdaDataModelRow* Gnome::Gda::DataModelRow::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Gnome::Gda::DataModel.

Reimplemented in Gnome::Gda::DataModelArray, Gnome::Gda::DataModelFilterSQL, Gnome::Gda::DataModelHash, and Gnome::Gda::DataModelImport.

GdaDataModelRow* Gnome::Gda::DataModelRow::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Gnome::Gda::DataModel.

Reimplemented in Gnome::Gda::DataModelArray, Gnome::Gda::DataModelFilterSQL, Gnome::Gda::DataModelHash, and Gnome::Gda::DataModelImport.

GdaDataModelRow* Gnome::Gda::DataModelRow::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Reimplemented from Gnome::Gda::Object.

Reimplemented in Gnome::Gda::DataModelArray, Gnome::Gda::DataModelFilterSQL, Gnome::Gda::DataModelHash, and Gnome::Gda::DataModelImport.


Friends And Related Function Documentation

Glib::RefPtr<Gnome::Gda::DataModelRow> wrap ( GdaDataModelRow *  object,
bool  take_copy = false 
) [related]

Parameters:
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.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:
Generated on Sat Feb 10 20:06:33 2007 for libgdamm by  doxygen 1.4.7