| libgdamm Reference Documentation | 

| Public Member Functions | |
| const GdaConfig* | gobj () const | 
| Provides access to the underlying C GObject. | |
| GdaConfig* | gobj () | 
| Provides access to the underlying C GObject. | |
| GdaConfig* | gobj_copy () | 
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| Glib::PropertyProxy_ReadOnly <Glib::ustring> | property_system_filename () const | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy <Glib::ustring> | property_system_filename () | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy_ReadOnly <Glib::ustring> | property_user_filename () const | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::PropertyProxy <Glib::ustring> | property_user_filename () | 
| You rarely need to use properties because there are get_ and set_ methods for almost all of them. | |
| Glib::SignalProxy1< void, DsnInfo* > | signal_dsn_added () | 
| Glib::SignalProxy1< void, DsnInfo* > | signal_dsn_changed () | 
| Glib::SignalProxy1< void, DsnInfo* > | signal_dsn_removed () | 
| Glib::SignalProxy1< void, DsnInfo* > | signal_dsn_to_be_removed () | 
| virtual | ~Config () | 
| Static Public Member Functions | |
| static bool | can_modify_system_config () | 
| Tells if the global (system) configuration can be modified (considering system permissions and settings). | |
| static bool | dsn_needs_authentication (const Glib::ustring& dsn_name) | 
| static Glib::RefPtr<Config> | get () | 
| Get a pointer to the global GdaConfig object. | |
| static DsnInfo* | get_dsn_info (const Glib::ustring& dsn_name) | 
| Get information about the DSN named dsn_name. | |
| static int | get_nb_dsn () | 
| Get the number of defined DSN. | |
| static Glib::RefPtr<DataModel> | list_dsn () | 
| Get a Gda::DataModel representing all the configured DSN, and keeping itself up to date with the changes in the declared DSN. | |
| static Glib::RefPtr<DataModel> | list_providers () | 
| Get a Gda::DataModel representing all the installed database providers. | |
| Protected Member Functions | |
| Config () | |
| Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Gnome::Gda::Config> | wrap (GdaConfig* object, bool take_copy=false) | 
| A Glib::wrap() method for this object. | |
| virtual Gnome::Gda::Config::~Config | ( | ) |  [virtual] | 
| Gnome::Gda::Config::Config | ( | ) |  [protected] | 
| static bool Gnome::Gda::Config::can_modify_system_config | ( | ) |  [static] | 
Tells if the global (system) configuration can be modified (considering system permissions and settings).
true if system-wide configuration can be modified. | static bool Gnome::Gda::Config::dsn_needs_authentication | ( | const Glib::ustring & | dsn_name | ) |  [static] | 
| static Glib::RefPtr<Config> Gnome::Gda::Config::get | ( | ) |  [static] | 
| static DsnInfo* Gnome::Gda::Config::get_dsn_info | ( | const Glib::ustring & | dsn_name | ) |  [static] | 
Get information about the DSN named dsn_name.
dsn_name's format is "[<username>[:<password>]@]<DSN>" (if <username> and optionaly <password> are provided, they are ignored). Also see the gda_dsn_split() utility function.
| dsn_name | The name of the DSN to look for. | 
0 if not found. | static int Gnome::Gda::Config::get_nb_dsn | ( | ) |  [static] | 
Get the number of defined DSN.
Return: the number of defined DSN
| const GdaConfig* Gnome::Gda::Config::gobj | ( | ) | const  [inline] | 
| GdaConfig* Gnome::Gda::Config::gobj | ( | ) |  [inline] | 
| GdaConfig* Gnome::Gda::Config::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<DataModel> Gnome::Gda::Config::list_dsn | ( | ) |  [static] | 
Get a Gda::DataModel representing all the configured DSN, and keeping itself up to date with the changes in the declared DSN.
The returned data model is composed of the following columns: <itemizedlist> <listitem>DSN name</listitem> <listitem>Provider name</listitem> <listitem>Description</listitem> <listitem>Connection string</listitem> <listitem>Username if it exists</listitem> </itemizedlist>
| static Glib::RefPtr<DataModel> Gnome::Gda::Config::list_providers | ( | ) |  [static] | 
Get a Gda::DataModel representing all the installed database providers.
The returned data model is composed of the following columns: <itemizedlist> <listitem>Provider name</listitem> <listitem>Description</listitem> <listitem>DSN parameters</listitem> <listitem>Authentication parameters</listitem> <listitem>File name of the plugin</listitem> </itemizedlist>
| Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Gda::Config::property_system_filename | ( | ) | const | 
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy<Glib::ustring> Gnome::Gda::Config::property_system_filename | ( | ) | 
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Gda::Config::property_user_filename | ( | ) | const | 
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy<Glib::ustring> Gnome::Gda::Config::property_user_filename | ( | ) | 
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::SignalProxy1<void,DsnInfo*> Gnome::Gda::Config::signal_dsn_added | ( | ) | 
void on_my_dsn_added(DsnInfo* info) | Glib::SignalProxy1<void,DsnInfo*> Gnome::Gda::Config::signal_dsn_changed | ( | ) | 
void on_my_dsn_changed(DsnInfo* info) | Glib::SignalProxy1<void,DsnInfo*> Gnome::Gda::Config::signal_dsn_removed | ( | ) | 
void on_my_dsn_removed(DsnInfo* info) | Glib::SignalProxy1<void,DsnInfo*> Gnome::Gda::Config::signal_dsn_to_be_removed | ( | ) | 
void on_my_dsn_to_be_removed(DsnInfo* info) 
| Glib::RefPtr<Gnome::Gda::Config> wrap | ( | GdaConfig * | 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. |