libgdamm Reference Documentation |
Public Member Functions | |
Error (const Error& other) | |
Error (GError* gobject, bool make_a_copy=true) | |
Error () | |
Glib::Error | gerror () |
const GError* | gobj () const |
Provides access to the underlying C instance. | |
GError* | gobj () |
Provides access to the underlying C instance. | |
GError* | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
Error& | operator= (const Error& other) |
void | swap (Error& other) |
~Error () | |
Protected Attributes | |
GError* | gobject_ |
Related Functions | |
(Note that these are not member functions.) | |
void | swap (Error& lhs, Error& rhs) |
Gnome::Gda::Error | wrap (GError* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
This is used to pass Glib::Error savely through signals. You can use the gerror() method to access the underlying Glib::Error.
Gnome::Gda::Error::Error | ( | ) |
Gnome::Gda::Error::Error | ( | GError * | gobject, | |
bool | make_a_copy = true | |||
) | [explicit] |
Gnome::Gda::Error::Error | ( | const Error& | other | ) |
Gnome::Gda::Error::~Error | ( | ) |
Glib::Error Gnome::Gda::Error::gerror | ( | ) | [inline] |
References gobj().
const GError* Gnome::Gda::Error::gobj | ( | ) | const [inline] |
GError* Gnome::Gda::Error::gobj | ( | ) | [inline] |
GError* Gnome::Gda::Error::gobj_copy | ( | ) | const |
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
Gnome::Gda::Error wrap | ( | GError * | 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. |
GError* Gnome::Gda::Error::gobject_ [protected] |
Referenced by gobj().