#include <CDB.h>
Public Member Functions | |
CDBfield (const CDBfield &c) | |
Copy constructor. | |
CDBfield () | |
Default constructor. | |
Tdate | date () |
Retrieve value as Tdate method. | |
Tdatetime | datetime () |
Retrieve value as Tdatetime method. | |
double | floating () |
Retrieve value as double method. | |
int | integer () |
Retrieve value as int method. | |
int | isnull () |
Check if the value of this field is NULL. | |
int64_t | long_integer () |
Retrieve value as int64_t method. | |
CDBfield & | operator= (const CDBfield &c) |
const char * | string () |
Retrieve value as string method. | |
Ttime | time () |
Retrieve value as Ttime method. | |
CDBstring | ustr () |
Data Fields | |
int | col |
CDBquery * | mQ |
int | row |
This class is an abstract view of a field in an sql query resultset. The class CDBfield implements some methods for datatype conversions. The main conversion is done by the specific driver.
|
Default constructor.
|
|
Copy constructor.
|
|
Retrieve value as Tdate method.
|
|
Retrieve value as Tdatetime method.
|
|
Retrieve value as double method.
|
|
Retrieve value as int method.
|
|
Check if the value of this field is NULL.
|
|
Retrieve value as int64_t method.
|
|
|
|
Retrieve value as string method.
|
|
Retrieve value as Ttime method.
|
|
|
|
|
|
|
|
|