Gnome::Gda::QueryFieldField Class Reference

Represents one field of an entity (through a QueryTarget object). More...

#include <queryfieldfield.h>

Inheritance diagram for Gnome::Gda::QueryFieldField:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~QueryFieldField ()
GdaQueryFieldField* gobj ()
 Provides access to the underlying C GObject.
const GdaQueryFieldField* gobj () const
 Provides access to the underlying C GObject.
GdaQueryFieldField* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::ustring get_ref_field_name () const
 Get the real name of the represented field.
Glib::RefPtr<EntityFieldget_ref_field ()
 Get the real Gda::EntityField object (well, the object which implements that interface) referenced by field.
Glib::RefPtr<const EntityFieldget_ref_field () const
 Get the real Gda::EntityField object (well, the object which implements that interface) referenced by field.
Glib::RefPtr<QueryTargetget_target ()
 Get the Gda::QueryTarget object field 'belongs' to.
Glib::RefPtr<const QueryTargetget_target () const
 Get the Gda::QueryTarget object field 'belongs' to.

Static Public Member Functions

static Glib::RefPtr<QueryFieldFieldcreate (const Glib::RefPtr<Query>& query, const Glib::ustring& field)
static Glib::RefPtr<QueryFieldFieldcreate (const Glib::RefPtr<Query>& query, const Glib::ustring& field, const Glib::RefPtr<QueryTarget>& target)
static Glib::RefPtr<QueryFieldFieldcreate (const Glib::RefPtr<Query>& query, const Glib::ustring& field, const Glib::RefPtr<QueryTarget>& target, const Glib::RefPtr<QueryField>& value_provider)

Protected Member Functions

 QueryFieldField (const Glib::RefPtr<Query>& query, const Glib::ustring& field)
 QueryFieldField (const Glib::RefPtr<Query>& query, const Glib::ustring& field, const Glib::RefPtr<QueryTarget>& target)
 QueryFieldField (const Glib::RefPtr<Query>& query, const Glib::ustring& field, const Glib::RefPtr<QueryTarget>& target, const Glib::RefPtr<QueryField>& value_provider)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gnome::Gda::QueryFieldFieldwrap (GdaQueryFieldField* object, bool take_copy=false)

Detailed Description

Represents one field of an entity (through a QueryTarget object).


Constructor & Destructor Documentation

virtual Gnome::Gda::QueryFieldField::~QueryFieldField (  )  [virtual]

Gnome::Gda::QueryFieldField::QueryFieldField ( const Glib::RefPtr<Query>&  query,
const Glib::ustring field 
) [protected]

Gnome::Gda::QueryFieldField::QueryFieldField ( const Glib::RefPtr<Query>&  query,
const Glib::ustring field,
const Glib::RefPtr<QueryTarget>&  target 
) [protected]

Gnome::Gda::QueryFieldField::QueryFieldField ( const Glib::RefPtr<Query>&  query,
const Glib::ustring field,
const Glib::RefPtr<QueryTarget>&  target,
const Glib::RefPtr<QueryField>&  value_provider 
) [protected]


Member Function Documentation

static Glib::RefPtr<QueryFieldField> Gnome::Gda::QueryFieldField::create ( const Glib::RefPtr<Query>&  query,
const Glib::ustring field,
const Glib::RefPtr<QueryTarget>&  target,
const Glib::RefPtr<QueryField>&  value_provider 
) [static]

static Glib::RefPtr<QueryFieldField> Gnome::Gda::QueryFieldField::create ( const Glib::RefPtr<Query>&  query,
const Glib::ustring field,
const Glib::RefPtr<QueryTarget>&  target 
) [static]

static Glib::RefPtr<QueryFieldField> Gnome::Gda::QueryFieldField::create ( const Glib::RefPtr<Query>&  query,
const Glib::ustring field 
) [static]

Glib::RefPtr<const EntityField> Gnome::Gda::QueryFieldField::get_ref_field (  )  const

Get the real Gda::EntityField object (well, the object which implements that interface) referenced by field.

Returns:
The Gda::EntityField object, or 0 if field is not active.

Glib::RefPtr<EntityField> Gnome::Gda::QueryFieldField::get_ref_field (  ) 

Get the real Gda::EntityField object (well, the object which implements that interface) referenced by field.

Returns:
The Gda::EntityField object, or 0 if field is not active.

Glib::ustring Gnome::Gda::QueryFieldField::get_ref_field_name (  )  const

Get the real name of the represented field.

The returned name can be in either forms: <itemizedlist> <listitem>field_name</listitem> <listitem>table_name.field_name</listitem> </itemizedlist>

Returns:
Represented field name (free the memory after usage).

Glib::RefPtr<const QueryTarget> Gnome::Gda::QueryFieldField::get_target (  )  const

Get the Gda::QueryTarget object field 'belongs' to.

Returns:
The Gda::QueryTarget object.

Glib::RefPtr<QueryTarget> Gnome::Gda::QueryFieldField::get_target (  ) 

Get the Gda::QueryTarget object field 'belongs' to.

Returns:
The Gda::QueryTarget object.

const GdaQueryFieldField* Gnome::Gda::QueryFieldField::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Gnome::Gda::EntityField.

GdaQueryFieldField* Gnome::Gda::QueryFieldField::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Gnome::Gda::EntityField.

GdaQueryFieldField* Gnome::Gda::QueryFieldField::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::QueryField.


Friends And Related Function Documentation

Glib::RefPtr<Gnome::Gda::QueryFieldField> wrap ( GdaQueryFieldField *  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.


The documentation for this class was generated from the following file:
Generated on Sat Feb 10 20:06:41 2007 for libgdamm by  doxygen 1.4.7