#include <client.h>
Inheritance diagram for Gnome::Gda::Client:

Public Member Functions | ||||
| virtual | ~Client () | |||
| GdaClient * | gobj () | |||
| Provides access to the underlying C GObject. | ||||
| const GdaClient * | gobj () const | |||
| Provides access to the underlying C GObject. | ||||
| GdaClient * | gobj_copy () | |||
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | ||||
| Glib::RefPtr< Connection > | open_connection (const Glib::ustring &dsn, const Glib::ustring &username, const Glib::ustring &password, ConnectionOptions options=(ConnectionOptions) 0) | |||
| Glib::RefPtr< Connection > | open_connection_from_string (const Glib::ustring &provider_id, const Glib::ustring &cnc_string, ConnectionOptions options=(ConnectionOptions) 0) | |||
| Glib::ListHandle< Glib::RefPtr< Connection > > | get_connection_list () | |||
| Glib::ListHandle< Glib::RefPtr< const Connection > > | get_connection_list () const | |||
| Glib::RefPtr< Connection > | find_connection (const Glib::ustring &dsn, const Glib::ustring &username, const Glib::ustring &password) | |||
| void | close_all_connections () | |||
| void | notify_event (const Glib::RefPtr< Connection > &cnc, ClientEvent event, const ParameterList ¶ms) | |||
| void | notify_error_event (const Glib::RefPtr< Connection > &cnc, GdaError *error) | |||
| void | notify_connection_opened_event (const Glib::RefPtr< Connection > &cnc) | |||
| void | notify_transaction_started_event (const Glib::RefPtr< Connection > &cnc, const Glib::RefPtr< Transaction > &xaction) | |||
| void | notify_transaction_committed_event (const Glib::RefPtr< Connection > &cnc, const Glib::RefPtr< Transaction > &xaction) | |||
| void | notify_transaction_cancelled_event (const Glib::RefPtr< Connection > &cnc, const Glib::RefPtr< Transaction > &xaction) | |||
| bool | begin_transaction (const Glib::RefPtr< Transaction > &xaction) | |||
| bool | commit_transaction (const Glib::RefPtr< Transaction > &xaction) | |||
| bool | rollback_transaction (const Glib::RefPtr< Transaction > &xaction) | |||
Static Public Member Functions | ||||
| static Glib::RefPtr< Client > | create () | |||
Protected Member Functions | ||||
| Client () | ||||
Related Functions | ||||
| (Note that these are not member functions.) | ||||
| Glib::RefPtr< Gnome::Gda::Client > | wrap (GdaClient *object, bool take_copy=false) | |||
| ||||
| virtual Gnome::Gda::Client::~Client | ( | ) | [virtual] |
| Gnome::Gda::Client::Client | ( | ) | [protected] |
| GdaClient* Gnome::Gda::Client::gobj | ( | ) | [inline] |
| const GdaClient* Gnome::Gda::Client::gobj | ( | ) | const [inline] |
| GdaClient* Gnome::Gda::Client::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| static Glib::RefPtr<Client> Gnome::Gda::Client::create | ( | ) | [static] |
| Glib::RefPtr<Connection> Gnome::Gda::Client::open_connection | ( | const Glib::ustring & | dsn, | |
| const Glib::ustring & | username, | |||
| const Glib::ustring & | password, | |||
| ConnectionOptions | options = (ConnectionOptions) 0 | |||
| ) |
| Glib::RefPtr<Connection> Gnome::Gda::Client::open_connection_from_string | ( | const Glib::ustring & | provider_id, | |
| const Glib::ustring & | cnc_string, | |||
| ConnectionOptions | options = (ConnectionOptions) 0 | |||
| ) |
| Glib::ListHandle< Glib::RefPtr<Connection> > Gnome::Gda::Client::get_connection_list | ( | ) |
| Glib::ListHandle< Glib::RefPtr<const Connection> > Gnome::Gda::Client::get_connection_list | ( | ) | const |
| Glib::RefPtr<Connection> Gnome::Gda::Client::find_connection | ( | const Glib::ustring & | dsn, | |
| const Glib::ustring & | username, | |||
| const Glib::ustring & | password | |||
| ) |
| void Gnome::Gda::Client::close_all_connections | ( | ) |
| void Gnome::Gda::Client::notify_event | ( | const Glib::RefPtr< Connection > & | cnc, | |
| ClientEvent | event, | |||
| const ParameterList & | params | |||
| ) |
| void Gnome::Gda::Client::notify_error_event | ( | const Glib::RefPtr< Connection > & | cnc, | |
| GdaError * | error | |||
| ) |
| void Gnome::Gda::Client::notify_connection_opened_event | ( | const Glib::RefPtr< Connection > & | cnc | ) |
| void Gnome::Gda::Client::notify_transaction_started_event | ( | const Glib::RefPtr< Connection > & | cnc, | |
| const Glib::RefPtr< Transaction > & | xaction | |||
| ) |
| void Gnome::Gda::Client::notify_transaction_committed_event | ( | const Glib::RefPtr< Connection > & | cnc, | |
| const Glib::RefPtr< Transaction > & | xaction | |||
| ) |
| void Gnome::Gda::Client::notify_transaction_cancelled_event | ( | const Glib::RefPtr< Connection > & | cnc, | |
| const Glib::RefPtr< Transaction > & | xaction | |||
| ) |
| bool Gnome::Gda::Client::begin_transaction | ( | const Glib::RefPtr< Transaction > & | xaction | ) |
| bool Gnome::Gda::Client::commit_transaction | ( | const Glib::RefPtr< Transaction > & | xaction | ) |
| bool Gnome::Gda::Client::rollback_transaction | ( | const Glib::RefPtr< Transaction > & | xaction | ) |
| Glib::RefPtr< Gnome::Gda::Client > wrap | ( | GdaClient * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| 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. |
1.5.1