Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

CDBfield Class Reference

The next database client library field class. More...

#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.
CDBfieldoperator= (const CDBfield &c)
const char * string ()
 Retrieve value as string method.
Ttime time ()
 Retrieve value as Ttime method.
CDBstring ustr ()

Data Fields

int col
CDBquerymQ
int row


Detailed Description

The next database client library field class.

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.


Constructor & Destructor Documentation

CDBfield  ) 
 

Default constructor.

CDBfield const CDBfield c  ) 
 

Copy constructor.


Member Function Documentation

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  ) 
 


Field Documentation

int col
 

CDBquery* mQ
 

int row
 


Generated on Mon Feb 6 00:30:32 2006 for CDB by  doxygen 1.4.4