#include <hk_data.h>
Inheritance diagram for hk_data:


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