#include "sysdep.h"#include <cdbstring.h>#include <iostream>#include <string>#include <list>#include <time.h>#include "cdb_driver_symbol.h"Go to the source code of this file.
Data Structures | |
| class | CDB |
| Define methods for accessing the functions of a loaded driver. More... | |
| class | CDBconnection |
| The next database client library connection class. More... | |
| class | CDBdate |
| Abstract reprsenetation of a simple calender date. More... | |
| class | CDBdatetime |
| Abstract reprsenetation of a simple calender date. More... | |
| class | CDBfield |
| The next database client library field class. More... | |
| class | CDBquery |
| The next database library query and execution class. More... | |
| class | CDBrow |
| The next database client library row class. More... | |
| class | CDBtime |
| Abstract reprsenetation of a simple calender date. More... | |
| class | CEXquery |
| Exception class for CDBquery. More... | |
Defines | |
| #define | CDB_DEFAULT_RUNTIME_VERSION_CHECK |
| Template to check if runtime and compilation version is the same. | |
| #define | CDB_NULL (CDB_NULL_T(E_NULL_DUMMY)) |
| #define | CDB_OPT_DONT_CLOSE_HANDLE 1 |
| Option passable from driver to CDB. | |
| #define | CDB_VERSION_MAJOR 0 |
| CDB Version major number. | |
| #define | CDB_VERSION_MINOR 2 |
| CDB Version minor number. | |
| #define | CDB_VERSION_NUMBER V_TO_NUM(CDB_VERSION_MAJOR, CDB_VERSION_MINOR, CDB_VERSION_RELEASE) |
| Default comparison template. | |
| #define | CDB_VERSION_RELEASE 0 |
| CDB Version release number. | |
| #define | V_TO_NUM(maj, min, rel) (maj * 10000 + min * 100 + rel) |
| Template to generate unique number for comparisons. | |
Typedefs | |
| typedef long long int | int64_t |
| typedef CDBdate | Tdate |
| Abstract reprsenetation of a simple calender date. | |
| typedef CDBdatetime | Tdatetime |
| Abstract reprsenetation of a simple calender date. | |
| typedef CDBtime | Ttime |
| Abstract reprsenetation of a simple calender date. | |
| typedef unsigned long long int | uint64_t |
Enumerations | |
| enum | CDB_NULL_T { E_NULL_DUMMY } |
| This type defines a NULL value. More... | |
Functions | |
| void | get_cdb_runtime_version (int *ma, int *mi, int *re) |
| Retrieve runtime version. | |
|
|
Value: { \
int ma, mi, re; \
get_cdb_runtime_version(&ma, &mi, &re); \
if ( CDB_VERSION_NUMBER != V_TO_NUM(ma, mi, re) ) { \
std::cerr << "WARNING: CDB-Api version difference, compiled: "; \
std::cerr << CDB_VERSION_MAJOR << "." << CDB_VERSION_MINOR; \
std::cerr << "." << CDB_VERSION_RELEASE << std::endl; \
std::cerr << " runtime: "; \
std::cerr << ma << "." << mi << "." << re << std::endl; \
} \
}
|
|
|
|
|
|
Option passable from driver to CDB.
|
|
|
CDB Version major number.
|
|
|
CDB Version minor number.
|
|
|
Default comparison template.
|
|
|
CDB Version release number.
|
|
|
Template to generate unique number for comparisons.
|
|
|
|
|
|
Abstract reprsenetation of a simple calender date. This class defines a abstract type for simple calender date. It has a resolution up to day's. |
|
|
Abstract reprsenetation of a simple calender date. This class defines a abstract type for simple calender date and time. It has a resolution up to seconds. |
|
|
Abstract reprsenetation of a simple calender date. This class defines a abstract type for simple time. It has a resolution up to seconds. |
|
|
|
|
|
This type defines a NULL value.
|
|
||||||||||||||||
|
Retrieve runtime version. This function retrieve the major, minor and release numbers of the currently used api object.
|
1.4.4