libgdamm  4.99.7
Public Member Functions | Static Public Member Functions | Protected Member Functions | Related Functions | List of all members
Gnome::Gda::HandlerBoolean Class Reference

Default Handler for booleans. More...

Inheritance diagram for Gnome::Gda::HandlerBoolean:
Inheritance graph
[legend]
Collaboration diagram for Gnome::Gda::HandlerBoolean:
Collaboration graph
[legend]

Public Member Functions

virtual ~HandlerBoolean ()
 
GdaHandlerBoolean* gobj ()
 Provides access to the underlying C GObject. More...
 
const GdaHandlerBoolean* gobj () const
 Provides access to the underlying C GObject. More...
 
GdaHandlerBoolean* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
 
- Public Member Functions inherited from Gnome::Gda::DataHandler
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
< HandlerBoolean
create ()
 
- Static Public Member Functions inherited from Gnome::Gda::DataHandler
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

 HandlerBoolean ()
 
- Protected Member Functions inherited from Gnome::Gda::DataHandler
 DataHandler ()
 You should derive from this class to use it. More...
 

Related Functions

(Note that these are not member functions.)

Glib::RefPtr
< Gnome::Gda::HandlerBoolean
wrap (GdaHandlerBoolean* object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Detailed Description

Default Handler for booleans.

Constructor & Destructor Documentation

virtual Gnome::Gda::HandlerBoolean::~HandlerBoolean ( )
virtual
Gnome::Gda::HandlerBoolean::HandlerBoolean ( )
protected

Member Function Documentation

static Glib::RefPtr<HandlerBoolean> Gnome::Gda::HandlerBoolean::create ( )
static
static GType Gnome::Gda::HandlerBoolean::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

GdaHandlerBoolean* Gnome::Gda::HandlerBoolean::gobj ( )
inline

Provides access to the underlying C GObject.

const GdaHandlerBoolean* Gnome::Gda::HandlerBoolean::gobj ( ) const
inline

Provides access to the underlying C GObject.

GdaHandlerBoolean* Gnome::Gda::HandlerBoolean::gobj_copy ( )

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Friends And Related Function Documentation

Glib::RefPtr< Gnome::Gda::HandlerBoolean > wrap ( GdaHandlerBoolean *  object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file: