hk_data Class Reference

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

#include <hk_data.h>

Inheritance diagram for hk_data:

Inheritance graph
[legend]
Collaboration diagram for hk_data:

Collaboration graph
[legend]
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

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)


Member Function Documentation

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>"


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 02:48:15 2006 for Databaseconnectionclasses by  doxygen 1.5.0