#include <queryfield.h>
Inheritance diagram for Gnome::Gda::QueryField:

Public Member Functions | |
| virtual | ~QueryField () |
| GdaQueryField* | gobj () |
| Provides access to the underlying C GObject. | |
| const GdaQueryField* | gobj () const |
| Provides access to the underlying C GObject. | |
| GdaQueryField* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| Glib::RefPtr<DictType> | get_dict_type () |
| Get the Gda::DictType represented by the qfield object: for a function it returns the return type, for a value, it returns its type, etc. | |
| Glib::RefPtr<const DictType> | get_dict_type () const |
| Get the Gda::DictType represented by the qfield object: for a function it returns the return type, for a value, it returns its type, etc. | |
| void | set_alias (const Glib::ustring& alias) |
| Sets qfield 's alias. | |
| Glib::ustring | get_alias () const |
| Get qfield 's alias. | |
| void | set_visible (bool visible=true) |
| Sets the visibility of qfield . | |
| bool | get_visible () const |
| void | set_internal (bool internal=true) |
| Sets weather qfield is internal or not. | |
| bool | get_internal () const |
| bool | is_list () const |
| Tells if qfield can potentially represent a list of values. | |
Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr<Gnome::Gda::QueryField> | wrap (GdaQueryField* object, bool take_copy=false) |
| virtual Gnome::Gda::QueryField::~QueryField | ( | ) | [virtual] |
| Glib::ustring Gnome::Gda::QueryField::get_alias | ( | ) | const |
Get qfield 's alias.
| Glib::RefPtr<const DictType> Gnome::Gda::QueryField::get_dict_type | ( | ) | const |
Get the Gda::DictType represented by the qfield object: for a function it returns the return type, for a value, it returns its type, etc.
0 if qfield does not have a data type. Reimplemented in Gnome::Gda::QueryFieldValue.
| Glib::RefPtr<DictType> Gnome::Gda::QueryField::get_dict_type | ( | ) |
Get the Gda::DictType represented by the qfield object: for a function it returns the return type, for a value, it returns its type, etc.
0 if qfield does not have a data type. Reimplemented in Gnome::Gda::QueryFieldValue.
| bool Gnome::Gda::QueryField::get_internal | ( | ) | const |
true if field is internal. | bool Gnome::Gda::QueryField::get_visible | ( | ) | const |
true if field is visible. | const GdaQueryField* Gnome::Gda::QueryField::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gnome::Gda::QueryObject.
Reimplemented in Gnome::Gda::QueryFieldAgg, Gnome::Gda::QueryFieldAll, Gnome::Gda::QueryFieldField, and Gnome::Gda::QueryFieldValue.
| GdaQueryField* Gnome::Gda::QueryField::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gnome::Gda::QueryObject.
Reimplemented in Gnome::Gda::QueryFieldAgg, Gnome::Gda::QueryFieldAll, Gnome::Gda::QueryFieldField, and Gnome::Gda::QueryFieldValue.
| GdaQueryField* Gnome::Gda::QueryField::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Gnome::Gda::QueryObject.
Reimplemented in Gnome::Gda::QueryFieldAgg, Gnome::Gda::QueryFieldAll, Gnome::Gda::QueryFieldField, and Gnome::Gda::QueryFieldValue.
| bool Gnome::Gda::QueryField::is_list | ( | ) | const |
Tells if qfield can potentially represent a list of values.
true if field can be a list of values. | void Gnome::Gda::QueryField::set_alias | ( | const Glib::ustring & | alias | ) |
Sets qfield 's alias.
| alias | The alias to set qfield to. |
| void Gnome::Gda::QueryField::set_internal | ( | bool | internal = true |
) |
Sets weather qfield is internal or not.
Internal fields in a query are fields added or changed by libgnomedb itself, such fields may or may not be visible.
| void Gnome::Gda::QueryField::set_visible | ( | bool | visible = true |
) |
Sets the visibility of qfield .
A visible field will appear in the query's corresponding (virtual) entity, whereas a non visible one will be hidden (and possibly not taking part in the query).
| Glib::RefPtr<Gnome::Gda::QueryField> wrap | ( | GdaQueryField * | 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. |
1.4.7