gSAFE
1.3.8
|
#include <datalib.h>
Public Member Functions | |
HSqlInterface () | |
~HSqlInterface () | |
void | cloneSqlInterfaceSettingsFrom (HSqlInterface *other) |
HSqlSingleInterface * | myInterface (void) |
QString | sqlConcatenateToLocal (QString string) |
QString | sqlConcatenateToLocal (QStringList fields) |
Public Member Functions inherited from HBase | |
HBase (void) | |
~HBase (void) | |
QString | getWhoami (void) |
Static Public Member Functions | |
static HSqlSingleInterface * | currentDefaultSqlInterface (void) |
static HSqlSingleInterface * | getSqlInterface (QString interfacename) |
static void | setSqlMode (QString modename) |
static void | setSqlModeBackToFirst (void) |
Additional Inherited Members | |
Protected Attributes inherited from HBase | |
QString | whoami |
The base class of all sql related class. It contains important informations about the underlying sql database. For example: which format can be used for strings? or what types are in databases? etc...
So in nutshell this is the sql format class. One single sql database type interface is hold in HSqlSingleInterface class. (You have to redefine that class to write a new interface)
HSqlInterface::HSqlInterface | ( | ) |
Constuctor (Does no need to call directly)
Definition at line 997 of file datalib.cpp.
HSqlInterface::~HSqlInterface | ( | ) |
Destructor
Definition at line 1009 of file datalib.cpp.
|
inline |
Copy the SQL interface settings from the given parameter HSqlInterface. (The HSqlHaldler's cloneSqlSettingsFrom() function will call this automatically!)
|
static |
Returns the current HSqlSingleInterface interface pointer
Definition at line 1053 of file datalib.cpp.
|
static |
Returns the given named HSqlSingleInterface interface pointer
Definition at line 1059 of file datalib.cpp.
|
inline |
|
static |
Sets the currewnt default sql configuration. This HSqlInterface instances/descendants keeps this sql interface settings permanently after creation. It means this function is SET A DEFAULT interface. So the objects (Even HTables,HList,etc) stays in that interface which was the current during the creation.
Currrently possible modes:
Definition at line 1013 of file datalib.cpp.
|
static |
If you set more then one setSqlMode() this function will load the first given interface to current default.
Definition at line 1047 of file datalib.cpp.
QString HSqlInterface::sqlConcatenateToLocal | ( | QString | string | ) |
Convert concatenated fields from standard sql to local according to the current interface.
Definition at line 1068 of file datalib.cpp.
QString HSqlInterface::sqlConcatenateToLocal | ( | QStringList | fields | ) |
Concatenate fields according to the current interface.
Definition at line 1091 of file datalib.cpp.