libgdamm
4.99.7
|
Default handler for GType values. More...
Public Member Functions | |
virtual | ~HandlerType () |
GdaHandlerType* | gobj () |
Provides access to the underlying C GObject. More... | |
const GdaHandlerType* | gobj () const |
Provides access to the underlying C GObject. More... | |
GdaHandlerType* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More... | |
![]() | |
virtual | ~DataHandler () |
GdaDataHandler* | gobj () |
Provides access to the underlying C GObject. More... | |
const GdaDataHandler* | gobj () const |
Provides access to the underlying C GObject. More... | |
Glib::ustring | get_sql_from_value (const Value& value) const |
Creates a new string which is an SQL representation of the given value, the returned string can be used directly in an SQL statement. More... | |
Glib::ustring | get_str_from_value (const Value& value) const |
Creates a new string which is a "user friendly" representation of the given value (in the user's locale, specially for the dates). More... | |
Value | get_value_from_sql (const Glib::ustring& sql, GType type) const |
Creates a new GValue which represents the SQL value given as argument. More... | |
Value | get_value_from_str (const Glib::ustring& sql, GType type) const |
Creates a new GValue which represents the STR value given as argument. More... | |
Value | get_sane_init_value (GType type) const |
Creates a new GValue which holds a sane initial value to be used if no value is specifically provided. More... | |
bool | accepts_g_type (GType type) const |
Checks wether the GdaDataHandler is able to handle the gda type given as argument. More... | |
Glib::ustring | get_descr () const |
Get a short description of the GdaDataHandler. More... | |
Static Public Member Functions | |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
static Glib::RefPtr< HandlerType > | create () |
![]() | |
static void | add_interface (GType gtype_implementer) |
static GType | get_type () |
Get the GType for this class, for use with the underlying GObject type system. More... | |
Protected Member Functions | |
HandlerType () | |
![]() | |
DataHandler () | |
You should derive from this class to use it. More... | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr < Gnome::Gda::HandlerType > | wrap (GdaHandlerType* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
![]() | |
Glib::RefPtr < Gnome::Gda::DataHandler > | wrap (GdaDataHandler* object, bool take_copy=false) |
A Glib::wrap() method for this object. More... | |
Default handler for GType values.
|
virtual |
|
protected |
|
static |
|
static |
Get the GType for this class, for use with the underlying GObject type system.
|
inline |
Provides access to the underlying C GObject.
|
inline |
Provides access to the underlying C GObject.
GdaHandlerType* Gnome::Gda::HandlerType::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
|
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. |