libgdamm  4.99.6
Public Member Functions | Protected Attributes | Related Functions
Gnome::Gda::Numeric Class Reference

TODO. More...

Collaboration diagram for Gnome::Gda::Numeric:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Numeric ()
 Numeric (GdaNumeric* gobject, bool make_a_copy=true)
 Numeric (const Numeric& other)
Numericoperator= (const Numeric& other)
 ~Numeric ()
void swap (Numeric& other)
GdaNumeric* gobj ()
 Provides access to the underlying C instance.
const GdaNumeric* gobj () const
 Provides access to the underlying C instance.
GdaNumeric* gobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
void set_from_string (const Glib::ustring& str)
void set_double (double number)
double get_double () const
void set_precision (long precision)
long get_precision () const
void set_width (long width)
long get_width ()
get_string () const

Protected Attributes

GdaNumeric* gobject_

Related Functions

(Note that these are not member functions.)

void swap (Numeric& lhs, Numeric& rhs)
Gnome::Gda::Numeric wrap (GdaNumeric* object, bool take_copy=false)
 A

Detailed Description

TODO.


Constructor & Destructor Documentation

Gnome::Gda::Numeric::Numeric ( )
Gnome::Gda::Numeric::Numeric ( GdaNumeric *  gobject,
bool  make_a_copy = true 
) [explicit]
Gnome::Gda::Numeric::Numeric ( const Numeric other)
Gnome::Gda::Numeric::~Numeric ( )

Member Function Documentation

double Gnome::Gda::Numeric::get_double ( ) const
long Gnome::Gda::Numeric::get_precision ( ) const
Glib::ustring Gnome::Gda::Numeric::get_string ( ) const
long Gnome::Gda::Numeric::get_width ( )
GdaNumeric* Gnome::Gda::Numeric::gobj ( ) [inline]

Provides access to the underlying C instance.

const GdaNumeric* Gnome::Gda::Numeric::gobj ( ) const [inline]

Provides access to the underlying C instance.

GdaNumeric* Gnome::Gda::Numeric::gobj_copy ( ) const

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

Numeric& Gnome::Gda::Numeric::operator= ( const Numeric other)
void Gnome::Gda::Numeric::set_double ( double  number)
void Gnome::Gda::Numeric::set_from_string ( const Glib::ustring str)
void Gnome::Gda::Numeric::set_precision ( long  precision)
void Gnome::Gda::Numeric::set_width ( long  width)
void Gnome::Gda::Numeric::swap ( Numeric other)

Friends And Related Function Documentation

void swap ( Numeric lhs,
Numeric rhs 
) [related]
Parameters:
lhsThe left-hand side
rhsThe right-hand side
Gnome::Gda::Numeric wrap ( GdaNumeric *  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.

Member Data Documentation

GdaNumeric* Gnome::Gda::Numeric::gobject_ [protected]

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