#include <fieldattributes.h>
Public Member Functions | ||||
| FieldAttributes () | ||||
| FieldAttributes (GdaFieldAttributes *castitem, bool make_a_copy=false) | ||||
| FieldAttributes (const FieldAttributes &src) | ||||
| FieldAttributes & | operator= (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) | |||
| ||||
| 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 | ( | ) |
| 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 | ) |
| bool operator== | ( | const FieldAttributes & | lhs, | |
| const FieldAttributes & | rhs | |||
| ) | [related] |
| lhs | The left-hand side |
| rhs | The right-hand side |
| bool operator!= | ( | const FieldAttributes & | lhs, | |
| const FieldAttributes & | rhs | |||
| ) | [related] |
| lhs | The left-hand side |
| rhs | The right-hand side |
| Gnome::Gda::FieldAttributes wrap | ( | GdaFieldAttributes * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
| 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. |
GdaFieldAttributes* Gnome::Gda::FieldAttributes::gobject_ [protected] |
1.5.1