Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

hk_data Class Reference

Base class for all kind of queries. More...

#include <hk_data.h>

Inheritance diagram for hk_data:

hk_class hk_actionquery hk_datasource List of all members.

Public Types

enum  enum_datasourcetypes {
  ds_table, ds_query, ds_actionquery, ds_view,
  ds_unknown
}

Public Member Functions

virtual hk_string name (void) const
virtual void set_name (const hk_string &n)
virtual enum_datasourcetypes type (void) const
hk_string identifierdelimiter (void) const
hk_string textdelimiter (void) const

Static Public Member Functions

static bool print_sqlstatements (void)
static void set_print_sqlstatements (bool p)

Protected Member Functions

 hk_data ()
virtual ~hk_data ()
virtual void before_source_vanishes (void)
virtual void before_connection_disconnects (void)
virtual void filelist_changes (listtype t)
virtual bool driver_specific_name (const hk_string &n)

Protected Attributes

hk_string p_name
hk_string p_sqltextdelimiter
hk_string p_identifierdelimiter

Static Protected Attributes

static bool p_print_sqlstatements

Friends

class hk_database

Detailed Description

Base class for all kind of queries.

Version:
Revision
1.21
Author:
Horst Knorr (hk_classes@knoda.org)


Member Enumeration Documentation

enum hk_data::enum_datasourcetypes
 

Datasources can be of different types (i.e. table). You never should get in contact with ds_unkown (which would be understood as a bug)

Enumeration values:
ds_table 
ds_query 
ds_actionquery 
ds_view 
ds_unknown 


Constructor & Destructor Documentation

hk_data::hk_data  )  [protected]
 

virtual hk_data::~hk_data  )  [protected, virtual]
 


Member Function Documentation

virtual void hk_data::before_connection_disconnects void   )  [protected, virtual]
 

Reimplemented in hk_datasource.

virtual void hk_data::before_source_vanishes void   )  [protected, virtual]
 

Reimplemented in hk_actionquery, and hk_datasource.

virtual bool hk_data::driver_specific_name const hk_string n  )  [protected, virtual]
 

virtual void hk_data::filelist_changes listtype  t  )  [protected, virtual]
 

Reimplemented in hk_datasource.

hk_string hk_data::identifierdelimiter void   )  const [inline]
 

virtual hk_string hk_data::name void   )  const [virtual]
 

name of the Datasource. If the datasource is of type "Table","Query", this name will be used to create automatically a SQL-statement : "SELECT * FROM <name>"

static bool hk_data::print_sqlstatements void   )  [inline, static]
 

virtual void hk_data::set_name const hk_string n  )  [virtual]
 

static void hk_data::set_print_sqlstatements bool  p  )  [static]
 

hk_string hk_data::textdelimiter void   )  const [inline]
 

virtual enum_datasourcetypes hk_data::type void   )  const [virtual]
 


Friends And Related Function Documentation

friend class hk_database [friend]
 

Reimplemented in hk_actionquery, and hk_datasource.


Member Data Documentation

hk_string hk_data::p_identifierdelimiter [protected]
 

hk_string hk_data::p_name [protected]
 

bool hk_data::p_print_sqlstatements [static, protected]
 

hk_string hk_data::p_sqltextdelimiter [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Mar 9 18:40:41 2006 for hk_classes by  doxygen 1.4.1