Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

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)
bool operator!= (const FieldAttributes &lhs, const FieldAttributes &rhs)
Gnome::Gda::FieldAttributes wrap (GdaFieldAttributes *object, bool take_copy=false)


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GdaFieldAttributes* Gnome::Gda::FieldAttributes::gobj  )  [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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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


Friends And Related Function Documentation

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

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

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

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

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

Parameters:
object The C instance
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 Mon May 2 23:36:21 2005 for libgdamm by  doxygen 1.4.2