#include <value.h>
Public Member Functions | |
| Value () | |
| Value (GdaValue *castitem, bool make_a_copy=false) | |
| Value (const Value &src) | |
| Value & | operator= (const Value &src) |
| ~Value () | |
| GdaValue * | gobj () |
| const GdaValue * | gobj () const |
| GdaValue * | gobj_copy () const |
| Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. | |
| Value (const void *val, long size) | |
| Value (bool val) | |
| Value (const Date &val) | |
| Value (double val) | |
| Value (const GeometricPoint &val) | |
| Value (const GObject *val) | |
| Value (int val) | |
| Value (const GdaValueList *val) | |
| Value (const GdaMoney *val) | |
| Value (const GdaNumeric *val) | |
| Value (float val) | |
| Value (gshort val) | |
| Value (gushort val) | |
| Value (const Glib::ustring &val) | |
| Value (const char *val) | |
| Value (const Time &val) | |
| Value (const Timestamp &val) | |
| Value (gchar val) | |
| Value (guchar val) | |
| Value (ValueType val) | |
| Value (guint val) | |
| Value (const Glib::ustring &as_string, ValueType type) | |
| bool | operator== (const Value &src) const |
| bool | operator!= (const Value &src) const |
| ValueType | get_value_type () const |
| bool | is_null () const |
| bool | is_number () const |
| gint64 | get_bigint () const |
| void | set (gint64 val) |
| guint64 | get_biguint () const |
| void | set (guint64 val) |
| const gpointer | get_binary (long &size) const |
| void | set (gconstpointer val, long size) |
| const GdaBlob * | get_blob () const |
| void | set (const GdaBlob *val) |
| bool | get_bool () const |
| void | set (bool val) |
| Date | get_date () const |
| void | set (const Date &val) |
| double | get_double () const |
| void | set (double val) |
| GeometricPoint | get_geometric_point () const |
| void | set (const GeometricPoint &val) |
| Glib::RefPtr< const Glib::Object > | get_gobject () |
| void | set (const Glib::RefPtr< Glib::Object > &val) |
| int | get_integer () const |
| void | set (int val) |
| const GdaValueList * | get_list () |
| void | set (const GdaValueList *val) |
| void | set_null () |
| const GdaMoney * | get_money () const |
| void | set (const GdaMoney *val) |
| const GdaNumeric * | get_numeric () const |
| void | set (const GdaNumeric *val) |
| float | get_single () const |
| void | set (float val) |
| gshort | get_smallint () const |
| void | set (gshort val) |
| gushort | get_smalluint () const |
| void | set (gushort val) |
| Glib::ustring | get_string () const |
| void | set (const Glib::ustring &val) |
| Time | get_time () const |
| void | set (const Time &val) |
| Timestamp | get_timestamp () const |
| void | set (const Timestamp &val) |
| gchar | get_tinyint () const |
| void | set (gchar val) |
| guchar | get_tinyuint () |
| void | set (guchar val) |
| guint | get_uinteger () const |
| void | set (guint val) |
| ValueType | get_vtype () const |
| void | set (GdaValueType type) |
| bool | set_from_string (const Glib::ustring &as_string, ValueType type) |
| Glib::ustring | to_string () const |
Static Public Member Functions | |
| static Value | create_as_bigint (gint64 val) |
| static Value | create_as_biguint (guint64 val) |
| static Value | create_as_time_t (time_t val) |
| static Glib::ustring | type_to_string (ValueType type) |
| static ValueType | type_from_string (const Glib::ustring &type) |
Protected Attributes | |
| GdaValue * | gobject_ |
Related Functions | |
| (Note that these are not member functions.) | |
| Gnome::Gda::Value | wrap (GdaValue *object, bool take_copy=false) |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
1.4.5