libgdamm Reference Documentation
Main Page   Namespaces   Book  

Gnome::Gda::Value Class Reference

Use value_type() to identify the value type at runtime. More...

Inheritance diagram for Gnome::Gda::Value:

Inheritance graph
[legend]

List of all members.

Public Member Functions

const guchar* get_binary (long& size) const
const GdaBlob* get_blob () const
bool get_boolean () const
Glib::Date get_date () const
double get_double () const
float get_float () const
GType get_g_type () const
GeometricPoint get_geometric_point () const
Glib::RefPtr<const Glib::Objectget_gobject ()
int get_int () const
gint64 get_int64 () const
const GdaValueList* get_list ()
const GdaNumeric* get_numeric () const
gshort get_short () const
Glib::ustring get_string () const
Time get_time () const
Timestamp get_timestamp () const
guint get_uint () const
guint64 get_uint64 () const
gulong get_ulong () const
gushort get_ushort () const
GType get_value_type () const
bool is_null () const
bool is_number () const
bool operator!= (const Value& src) const
Valueoperator= (const Value& src)
bool operator== (const Value& src) const
void set (guint val)
void set (guchar val)
void set (gchar val)
void set (const Timestamp& val)
void set (const Time& val)
void set (const char* val)
void set (const Glib::ustring& val)
void set (gulong val)
void set (gushort val)
void set (gshort val)
void set (float val)
void set (const GdaNumeric* val)
void set (const GdaValueList* val)
void set (int val)
void set (const Glib::RefPtr<Glib::Object>& val)
void set (const GeometricPoint& val)
void set (double val)
void set (const Glib::Date& val)
void set (bool val)
void set (const GdaBlob* val)
void set (const guchar* val, long size)
void set_g_type (GType val)
void set_int64 (gint64 val)
void set_uint64 (guint64 val)
Glib::ustring to_string () const
 Value (const Glib::ustring& as_string, GType type)
 Value (guint val)
 Value (guchar val)
 Value (gchar val)
 Value (const Timestamp& val)
 Value (const Time& val)
 Value (const char* val)
 Value (const Glib::ustring& val)
 Value (gulong val)
 Value (gushort val)
 Value (gshort val)
 Value (float val)
 Value (const GdaNumeric* val)
 Value (const GdaValueList* val)
 Value (int val)
 Value (const GeometricPoint& val)
 Value (double val)
 Value (const Glib::Date& val)
 Value (bool val)
 Value (const GdaBlob* val)
 Value (const guchar* val, long size)
 Value (const Value& src)
 Value (const GValue* castitem)
 Value ()
 ~Value ()

Static Public Member Functions

static Value create_as_int64 (gint64 val)
static Value create_as_time_t (time_t val)
static Value create_as_uint64 (guint64 val)


Detailed Description

Use value_type() to identify the value type at runtime.

Constructor & Destructor Documentation

Gnome::Gda::Value::Value (  ) 

Gnome::Gda::Value::Value ( const GValue *  castitem  )  [explicit]

Gnome::Gda::Value::Value ( const Value src  ) 

Gnome::Gda::Value::~Value (  ) 

Gnome::Gda::Value::Value ( const guchar *  val,
long  size 
) [explicit]

Gnome::Gda::Value::Value ( const GdaBlob *  val  )  [explicit]

Gnome::Gda::Value::Value ( bool  val  )  [explicit]

Gnome::Gda::Value::Value ( const Glib::Date val  )  [explicit]

Gnome::Gda::Value::Value ( double  val  )  [explicit]

Gnome::Gda::Value::Value ( const GeometricPoint val  )  [explicit]

Gnome::Gda::Value::Value ( int  val  )  [explicit]

Gnome::Gda::Value::Value ( const GdaValueList *  val  )  [explicit]

Gnome::Gda::Value::Value ( const GdaNumeric *  val  )  [explicit]

Gnome::Gda::Value::Value ( float  val  )  [explicit]

Gnome::Gda::Value::Value ( gshort  val  )  [explicit]

Gnome::Gda::Value::Value ( gushort  val  )  [explicit]

Gnome::Gda::Value::Value ( gulong  val  )  [explicit]

Gnome::Gda::Value::Value ( const Glib::ustring val  )  [explicit]

Gnome::Gda::Value::Value ( const char *  val  )  [explicit]

Gnome::Gda::Value::Value ( const Time val  )  [explicit]

Gnome::Gda::Value::Value ( const Timestamp val  )  [explicit]

Gnome::Gda::Value::Value ( gchar  val  )  [explicit]

Gnome::Gda::Value::Value ( guchar  val  )  [explicit]

Gnome::Gda::Value::Value ( guint  val  )  [explicit]

Gnome::Gda::Value::Value ( const Glib::ustring as_string,
GType  type 
) [explicit]


Member Function Documentation

static Value Gnome::Gda::Value::create_as_int64 ( gint64  val  )  [static]

static Value Gnome::Gda::Value::create_as_time_t ( time_t  val  )  [static]

static Value Gnome::Gda::Value::create_as_uint64 ( guint64  val  )  [static]

const guchar* Gnome::Gda::Value::get_binary ( long &  size  )  const

const GdaBlob* Gnome::Gda::Value::get_blob (  )  const

bool Gnome::Gda::Value::get_boolean (  )  const

Glib::Date Gnome::Gda::Value::get_date (  )  const

double Gnome::Gda::Value::get_double (  )  const

float Gnome::Gda::Value::get_float (  )  const

GType Gnome::Gda::Value::get_g_type (  )  const

GeometricPoint Gnome::Gda::Value::get_geometric_point (  )  const

Glib::RefPtr<const Glib::Object> Gnome::Gda::Value::get_gobject (  ) 

int Gnome::Gda::Value::get_int (  )  const

gint64 Gnome::Gda::Value::get_int64 (  )  const

const GdaValueList* Gnome::Gda::Value::get_list (  ) 

const GdaNumeric* Gnome::Gda::Value::get_numeric (  )  const

gshort Gnome::Gda::Value::get_short (  )  const

Glib::ustring Gnome::Gda::Value::get_string (  )  const

Time Gnome::Gda::Value::get_time (  )  const

Timestamp Gnome::Gda::Value::get_timestamp (  )  const

guint Gnome::Gda::Value::get_uint (  )  const

guint64 Gnome::Gda::Value::get_uint64 (  )  const

gulong Gnome::Gda::Value::get_ulong (  )  const

gushort Gnome::Gda::Value::get_ushort (  )  const

GType Gnome::Gda::Value::get_value_type (  )  const

bool Gnome::Gda::Value::is_null (  )  const

bool Gnome::Gda::Value::is_number (  )  const

bool Gnome::Gda::Value::operator!= ( const Value src  )  const

Value& Gnome::Gda::Value::operator= ( const Value src  ) 

bool Gnome::Gda::Value::operator== ( const Value src  )  const

void Gnome::Gda::Value::set ( guint  val  ) 

void Gnome::Gda::Value::set ( guchar  val  ) 

void Gnome::Gda::Value::set ( gchar  val  ) 

void Gnome::Gda::Value::set ( const Timestamp val  ) 

void Gnome::Gda::Value::set ( const Time val  ) 

void Gnome::Gda::Value::set ( const char *  val  ) 

void Gnome::Gda::Value::set ( const Glib::ustring val  ) 

void Gnome::Gda::Value::set ( gulong  val  ) 

void Gnome::Gda::Value::set ( gushort  val  ) 

void Gnome::Gda::Value::set ( gshort  val  ) 

void Gnome::Gda::Value::set ( float  val  ) 

void Gnome::Gda::Value::set ( const GdaNumeric *  val  ) 

void Gnome::Gda::Value::set ( const GdaValueList *  val  ) 

void Gnome::Gda::Value::set ( int  val  ) 

void Gnome::Gda::Value::set ( const Glib::RefPtr< Glib::Object > &  val  ) 

void Gnome::Gda::Value::set ( const GeometricPoint val  ) 

void Gnome::Gda::Value::set ( double  val  ) 

void Gnome::Gda::Value::set ( const Glib::Date val  ) 

void Gnome::Gda::Value::set ( bool  val  ) 

void Gnome::Gda::Value::set ( const GdaBlob *  val  ) 

void Gnome::Gda::Value::set ( const guchar *  val,
long  size 
)

void Gnome::Gda::Value::set_g_type ( GType  val  ) 

void Gnome::Gda::Value::set_int64 ( gint64  val  ) 

void Gnome::Gda::Value::set_uint64 ( guint64  val  ) 

Glib::ustring Gnome::Gda::Value::to_string (  )  const


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

Generated for libgdamm by Doxygen 1.5.5 © 1997-2001