| libgdamm Reference Documentation |
Public Member Functions | |
| DataModelIndex (const DataModelIndex& other) | |
| DataModelIndex (GdaDataModelIndex* gobject, bool make_a_copy=true) | |
| DataModelIndex () | |
| void | gda_data_set_name (const Glib::ustring& name) |
| Sets the name of dmi to name. | |
| Glib::ListHandle< Glib::RefPtr <const ColumnIndex >> | get_column_index_list () const |
| Glib::ListHandle< Glib::RefPtr <ColumnIndex >> | get_column_index_list () |
| Glib::ustring | get_name () const |
| bool | get_primary_key () const |
| Glib::ustring | get_references () const |
| Glib::ustring | get_table_name () const |
| bool | get_unique_key () const |
| const GdaDataModelIndex* | gobj () const |
| Provides access to the underlying C instance. | |
| GdaDataModelIndex* | gobj () |
| Provides access to the underlying C instance. | |
| GdaDataModelIndex* | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
| DataModelIndex& | operator= (const DataModelIndex& other) |
| void | set_column_index_list (const Glib::ListHandle<Glib::RefPtr<ColumnIndex>>& col_idx_list) |
| Sets dmi's list of column index attributes by copying col_idx_list to its internal representation. | |
| void | set_primary_key (bool pk=true) |
| Sets if a Gda::DataModelIndex is a primary key. | |
| void | set_references (const Glib::ustring& ref) |
| Sets dmi's references. | |
| void | set_table_name (const Glib::ustring& name) |
| Sets the table name of dmi to table_name. | |
| void | set_unique_key (bool uk=true) |
| Sets if a Gda::DataModelIndex is a unique key. | |
| void | swap (DataModelIndex& other) |
| ~DataModelIndex () | |
Protected Attributes | |
| GdaDataModelIndex* | gobject_ |
Related Functions | |
| (Note that these are not member functions.) | |
| bool | operator!= (const DataModelIndex& lhs, const DataModelIndex& rhs) |
| bool | operator== (const DataModelIndex& lhs, const DataModelIndex& rhs) |
| void | swap (DataModelIndex& lhs, DataModelIndex& rhs) |
| Gnome::Gda::DataModelIndex | wrap (GdaDataModelIndex* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
| Gnome::Gda::DataModelIndex::DataModelIndex | ( | ) |
| Gnome::Gda::DataModelIndex::DataModelIndex | ( | GdaDataModelIndex * | gobject, | |
| bool | make_a_copy = true | |||
| ) | [explicit] |
| Gnome::Gda::DataModelIndex::DataModelIndex | ( | const DataModelIndex& | other | ) |
| Gnome::Gda::DataModelIndex::~DataModelIndex | ( | ) |
| void Gnome::Gda::DataModelIndex::gda_data_set_name | ( | const Glib::ustring & | name | ) |
Sets the name of dmi to name.
| name | The new name of dmi. |
| Glib::ListHandle<Glib::RefPtr<const ColumnIndex> > Gnome::Gda::DataModelIndex::get_column_index_list | ( | ) | const |
| Glib::ListHandle<Glib::RefPtr<ColumnIndex> > Gnome::Gda::DataModelIndex::get_column_index_list | ( | ) |
| Glib::ustring Gnome::Gda::DataModelIndex::get_name | ( | ) | const |
| bool Gnome::Gda::DataModelIndex::get_primary_key | ( | ) | const |
true if primary key. | Glib::ustring Gnome::Gda::DataModelIndex::get_references | ( | ) | const |
| Glib::ustring Gnome::Gda::DataModelIndex::get_table_name | ( | ) | const |
| bool Gnome::Gda::DataModelIndex::get_unique_key | ( | ) | const |
true if unique key. | const GdaDataModelIndex* Gnome::Gda::DataModelIndex::gobj | ( | ) | const [inline] |
| GdaDataModelIndex* Gnome::Gda::DataModelIndex::gobj | ( | ) | [inline] |
| GdaDataModelIndex* Gnome::Gda::DataModelIndex::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
| DataModelIndex& Gnome::Gda::DataModelIndex::operator= | ( | const DataModelIndex& | other | ) |
| void Gnome::Gda::DataModelIndex::set_column_index_list | ( | const Glib::ListHandle<Glib::RefPtr<ColumnIndex>>& | col_idx_list | ) |
Sets dmi's list of column index attributes by copying col_idx_list to its internal representation.
| col_idx_list | List of Gda::ColumnIndex. |
| void Gnome::Gda::DataModelIndex::set_primary_key | ( | bool | pk = true |
) |
| void Gnome::Gda::DataModelIndex::set_references | ( | const Glib::ustring & | ref | ) |
Sets dmi's references.
| ref | References. |
| void Gnome::Gda::DataModelIndex::set_table_name | ( | const Glib::ustring & | name | ) |
Sets the table name of dmi to table_name.
| name | The new name of dmi. |
| void Gnome::Gda::DataModelIndex::set_unique_key | ( | bool | uk = true |
) |
| void Gnome::Gda::DataModelIndex::swap | ( | DataModelIndex& | other | ) |
Referenced by swap().
| bool operator!= | ( | const DataModelIndex& | lhs, | |
| const DataModelIndex& | rhs | |||
| ) | [related] |
| lhs | The left-hand side | |
| rhs | The right-hand side |
| bool operator== | ( | const DataModelIndex& | lhs, | |
| const DataModelIndex& | rhs | |||
| ) | [related] |
| lhs | The left-hand side | |
| rhs | The right-hand side |
| void swap | ( | DataModelIndex& | lhs, | |
| DataModelIndex& | rhs | |||
| ) | [related] |
| Gnome::Gda::DataModelIndex wrap | ( | GdaDataModelIndex * | 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. |
GdaDataModelIndex* Gnome::Gda::DataModelIndex::gobject_ [protected] |
Referenced by gobj().