#include <error.h>
Public Member Functions | ||||
virtual | ~Error () | |||
GdaError * | gobj () | |||
Provides access to the underlying C GObject. | ||||
const GdaError * | gobj () const | |||
Provides access to the underlying C GObject. | ||||
GdaError * | gobj_copy () | |||
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | ||||
Glib::ustring | get_description () const | |||
void | set_description (const Glib::ustring &description) | |||
glong | get_number () const | |||
void | set_number (glong number) | |||
Glib::ustring | get_source () const | |||
void | set_source (const Glib::ustring &source) | |||
Glib::ustring | get_sqlstate () const | |||
void | set_sqlstate (const Glib::ustring &sqlstate) | |||
Static Public Member Functions | ||||
static Glib::RefPtr < Error > | create () | |||
Protected Member Functions | ||||
Error () | ||||
Related Functions | ||||
(Note that these are not member functions.) | ||||
Glib::RefPtr < Gnome::Gda::Error > | wrap (GdaError *object, bool take_copy=false) | |||
|
virtual Gnome::Gda::Error::~Error | ( | ) | [virtual] |
Gnome::Gda::Error::Error | ( | ) | [protected] |
GdaError* Gnome::Gda::Error::gobj | ( | ) | [inline] |
const GdaError* Gnome::Gda::Error::gobj | ( | ) | const [inline] |
GdaError* Gnome::Gda::Error::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<Error> Gnome::Gda::Error::create | ( | ) | [static] |
Glib::ustring Gnome::Gda::Error::get_description | ( | ) | const |
void Gnome::Gda::Error::set_description | ( | const Glib::ustring & | description | ) |
glong Gnome::Gda::Error::get_number | ( | ) | const |
void Gnome::Gda::Error::set_number | ( | glong | number | ) |
Glib::ustring Gnome::Gda::Error::get_source | ( | ) | const |
void Gnome::Gda::Error::set_source | ( | const Glib::ustring & | source | ) |
Glib::ustring Gnome::Gda::Error::get_sqlstate | ( | ) | const |
void Gnome::Gda::Error::set_sqlstate | ( | const Glib::ustring & | sqlstate | ) |
Glib::RefPtr< Gnome::Gda::Error > wrap | ( | GdaError * | 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. |