Gnome::Gda::FieldAttributes Class Reference

#include <fieldattributes.h>

List of all members.

Public Member Functions

 FieldAttributes ()
 FieldAttributes (GdaFieldAttributes *castitem, bool make_a_copy=false)
 FieldAttributes (const FieldAttributes &src)
FieldAttributesoperator= (const FieldAttributes &src)
 ~FieldAttributes ()
GdaFieldAttributes * gobj ()
const
GdaFieldAttributes * 
gobj () const
GdaFieldAttributes * gobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
glong get_defined_size () const
void set_defined_size (glong size)
Glib::ustring get_name () const
void set_name (const Glib::ustring &name)
Glib::ustring get_table () const
void set_table (const Glib::ustring &table)
Glib::ustring get_caption () const
void set_caption (const Glib::ustring &caption)
glong get_scale () const
void set_scale (glong scale)
ValueType get_gdatype () const
void set_gdatype (ValueType type)
bool get_allow_null () const
void set_allow_null (bool allow=true)
bool get_primary_key () const
void set_primary_key (bool pk=true)
bool get_unique_key () const
void set_unique_key (bool uk=true)
Glib::ustring get_references ()
void set_references (const Glib::ustring &ref)
bool get_auto_increment () const
void set_auto_increment (bool is_auto=true)
gint get_position () const
void set_position (gint position)
Value get_default_value () const
void set_default_value (const Value &default_value)

Protected Attributes

GdaFieldAttributes * gobject_

Related Functions

(Note that these are not member functions.)

bool operator== (const FieldAttributes &lhs, const FieldAttributes &rhs)
 
Parameters:
lhs The left-hand side

bool operator!= (const FieldAttributes &lhs, const FieldAttributes &rhs)
 
Parameters:
lhs The left-hand side

Gnome::Gda::FieldAttributes wrap (GdaFieldAttributes *object, bool take_copy=false)
 
Parameters:
object The C instance


Constructor & Destructor Documentation

Gnome::Gda::FieldAttributes::FieldAttributes (  ) 

Gnome::Gda::FieldAttributes::FieldAttributes ( GdaFieldAttributes *  castitem,
bool  make_a_copy = false 
) [explicit]

Gnome::Gda::FieldAttributes::FieldAttributes ( const FieldAttributes src  ) 

Gnome::Gda::FieldAttributes::~FieldAttributes (  ) 


Member Function Documentation

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

GdaFieldAttributes* Gnome::Gda::FieldAttributes::gobj (  )  [inline]

const GdaFieldAttributes* Gnome::Gda::FieldAttributes::gobj (  )  const [inline]

GdaFieldAttributes* Gnome::Gda::FieldAttributes::gobj_copy (  )  const

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

glong Gnome::Gda::FieldAttributes::get_defined_size (  )  const

void Gnome::Gda::FieldAttributes::set_defined_size ( glong  size  ) 

Glib::ustring Gnome::Gda::FieldAttributes::get_name (  )  const

void Gnome::Gda::FieldAttributes::set_name ( const Glib::ustring name  ) 

Glib::ustring Gnome::Gda::FieldAttributes::get_table (  )  const

void Gnome::Gda::FieldAttributes::set_table ( const Glib::ustring table  ) 

Glib::ustring Gnome::Gda::FieldAttributes::get_caption (  )  const

void Gnome::Gda::FieldAttributes::set_caption ( const Glib::ustring caption  ) 

glong Gnome::Gda::FieldAttributes::get_scale (  )  const

void Gnome::Gda::FieldAttributes::set_scale ( glong  scale  ) 

ValueType Gnome::Gda::FieldAttributes::get_gdatype (  )  const

void Gnome::Gda::FieldAttributes::set_gdatype ( ValueType  type  ) 

bool Gnome::Gda::FieldAttributes::get_allow_null (  )  const

void Gnome::Gda::FieldAttributes::set_allow_null ( bool  allow = true  ) 

bool Gnome::Gda::FieldAttributes::get_primary_key (  )  const

void Gnome::Gda::FieldAttributes::set_primary_key ( bool  pk = true  ) 

bool Gnome::Gda::FieldAttributes::get_unique_key (  )  const

void Gnome::Gda::FieldAttributes::set_unique_key ( bool  uk = true  ) 

Glib::ustring Gnome::Gda::FieldAttributes::get_references (  ) 

void Gnome::Gda::FieldAttributes::set_references ( const Glib::ustring ref  ) 

bool Gnome::Gda::FieldAttributes::get_auto_increment (  )  const

void Gnome::Gda::FieldAttributes::set_auto_increment ( bool  is_auto = true  ) 

gint Gnome::Gda::FieldAttributes::get_position (  )  const

void Gnome::Gda::FieldAttributes::set_position ( gint  position  ) 

Value Gnome::Gda::FieldAttributes::get_default_value (  )  const

void Gnome::Gda::FieldAttributes::set_default_value ( const Value default_value  ) 


Friends And Related Function Documentation

bool operator== ( const FieldAttributes lhs,
const FieldAttributes rhs 
) [related]

Parameters:
lhs The left-hand side

Parameters:
rhs The right-hand side
Returns:
The result

bool operator!= ( const FieldAttributes lhs,
const FieldAttributes rhs 
) [related]

Parameters:
lhs The left-hand side

Parameters:
rhs The right-hand side
Returns:
The result

Gnome::Gda::FieldAttributes wrap ( GdaFieldAttributes *  object,
bool  take_copy = false 
) [related]

Parameters:
object The C instance

Parameters:
take_copy False 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

GdaFieldAttributes* Gnome::Gda::FieldAttributes::gobject_ [protected]


The documentation for this class was generated from the following file:
Generated on Sun Aug 26 23:19:30 2007 for libgdamm by  doxygen 1.5.3