Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

Gnome::Gda::DataModel Class Reference

#include <datamodel.h>

Inheritance diagram for Gnome::Gda::DataModel:

Glib::Object Glib::ObjectBase SigC::Object List of all members.

Public Member Functions

virtual ~DataModel ()
GdaDataModel * gobj ()
 Provides access to the underlying C GObject.

const GdaDataModel * gobj () const
 Provides access to the underlying C GObject.

GdaDataModel * gobj_copy ()
void changed ()
void freeze ()
void thaw ()
int get_n_rows ()
int get_n_columns ()
GdaFieldAttributes * describe_column (int col)
Glib::ustring get_column_title (int col)
void set_column_title (int col, const Glib::ustring &title)
int get_column_position (const Glib::ustring &title)
const GdaRow * get_row (int row)
const GdaValue * get_value_at (int col, int row)
bool is_editable () const
const GdaRow * append_row (const GList *values)
bool remove_row (const GdaRow *row)
bool update_row (const GdaRow *row)
bool is_editing () const
bool begin_edit ()
bool cancel_edit ()
bool end_edit ()
Glib::ustring to_comma_separated ()
Glib::ustring to_tab_separated ()
Glib::ustring to_xml (bool standalone)
Glib::ustring get_command_text ()
void set_command_text (const Glib::ustring &txt)
GdaCommandType get_command_type ()
void set_command_type (GdaCommandType type)
Glib::SignalProxy0< void > signal_changed ()

Protected Member Functions

virtual int get_n_rows_vfunc ()
virtual int get_n_columns_vfunc ()
virtual GdaFieldAttributes * describe_column_vfunc (int col)
virtual const GdaValue * get_value_at_vfunc (int col, int row)
virtual void on_changed ()

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Gnome::Gda::DataModelwrap (GdaDataModel *object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gnome::Gda::DataModel::~DataModel  )  [virtual]
 


Member Function Documentation

const GdaRow* Gnome::Gda::DataModel::append_row const GList *  values  ) 
 

bool Gnome::Gda::DataModel::begin_edit  ) 
 

bool Gnome::Gda::DataModel::cancel_edit  ) 
 

void Gnome::Gda::DataModel::changed  ) 
 

GdaFieldAttributes* Gnome::Gda::DataModel::describe_column int  col  ) 
 

virtual GdaFieldAttributes* Gnome::Gda::DataModel::describe_column_vfunc int  col  )  [protected, virtual]
 

bool Gnome::Gda::DataModel::end_edit  ) 
 

void Gnome::Gda::DataModel::freeze  ) 
 

int Gnome::Gda::DataModel::get_column_position const Glib::ustring title  ) 
 

Glib::ustring Gnome::Gda::DataModel::get_column_title int  col  ) 
 

Glib::ustring Gnome::Gda::DataModel::get_command_text  ) 
 

GdaCommandType Gnome::Gda::DataModel::get_command_type  ) 
 

int Gnome::Gda::DataModel::get_n_columns  ) 
 

virtual int Gnome::Gda::DataModel::get_n_columns_vfunc  )  [protected, virtual]
 

int Gnome::Gda::DataModel::get_n_rows  ) 
 

virtual int Gnome::Gda::DataModel::get_n_rows_vfunc  )  [protected, virtual]
 

const GdaRow* Gnome::Gda::DataModel::get_row int  row  ) 
 

const GdaValue* Gnome::Gda::DataModel::get_value_at int  col,
int  row
 

virtual const GdaValue* Gnome::Gda::DataModel::get_value_at_vfunc int  col,
int  row
[protected, virtual]
 

const GdaDataModel* Gnome::Gda::DataModel::gobj  )  const [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

GdaDataModel* Gnome::Gda::DataModel::gobj  )  [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

GdaDataModel* Gnome::Gda::DataModel::gobj_copy  ) 
 

bool Gnome::Gda::DataModel::is_editable  )  const
 

bool Gnome::Gda::DataModel::is_editing  )  const
 

virtual void Gnome::Gda::DataModel::on_changed  )  [protected, virtual]
 

bool Gnome::Gda::DataModel::remove_row const GdaRow *  row  ) 
 

void Gnome::Gda::DataModel::set_column_title int  col,
const Glib::ustring title
 

void Gnome::Gda::DataModel::set_command_text const Glib::ustring txt  ) 
 

void Gnome::Gda::DataModel::set_command_type GdaCommandType  type  ) 
 

Glib::SignalProxy0<void> Gnome::Gda::DataModel::signal_changed  ) 
 

Prototype:
void changed()

void Gnome::Gda::DataModel::thaw  ) 
 

Glib::ustring Gnome::Gda::DataModel::to_comma_separated  ) 
 

Glib::ustring Gnome::Gda::DataModel::to_tab_separated  ) 
 

Glib::ustring Gnome::Gda::DataModel::to_xml bool  standalone  ) 
 

bool Gnome::Gda::DataModel::update_row const GdaRow *  row  ) 
 


Friends And Related Function Documentation

Glib::RefPtr< Gnome::Gda::DataModel > wrap GdaDataModel *  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated on Wed Jul 28 05:53:31 2004 for libgdamm by doxygen 1.3.7