clan::DBReaderProvider Class Referenceabstract

Database reader provider. More...

#include <db_reader_provider.h>

Public Member Functions

Construction
virtual ~DBReaderProvider ()
 
Attributes
virtual int get_column_count () const =0
 Returns the number of columns in the result set. More...
 
virtual std::string get_column_name (int index) const =0
 Returns the name of the specified column index. More...
 
virtual int get_name_index (const std::string &name) const =0
 Returns the index of the specified column name. More...
 
virtual std::string get_column_string (int index) const =0
 Retrieves the value of the specified column as a string. More...
 
virtual bool get_column_bool (int index) const =0
 Retrieves the value of the specified column as a boolean. More...
 
virtual char get_column_char (int index) const =0
 Retrieves the value of the specified column as a char. More...
 
virtual unsigned char get_column_uchar (int index) const =0
 Retrieves the value of the specified column as an unsigned char. More...
 
virtual int get_column_int (int index) const =0
 Retrieves the value of the specified column as an integer. More...
 
virtual unsigned int get_column_uint (int index) const =0
 Retrieves the value of the specified column as an unsigned integer. More...
 
virtual double get_column_double (int index) const =0
 Retrieves the value of the specified column as a double. More...
 
virtual DateTime get_column_datetime (int index) const =0
 Retrieves the value of the specified column as a DateTime. More...
 
virtual DataBuffer get_column_binary (int index) const =0
 Retrieves the value of the specified column as a DataBuffer. More...
 
Operations
virtual bool retrieve_row ()=0
 Retrieves a row from the command execution result. More...
 
virtual void close ()=0
 Closes the database reader. More...
 

Detailed Description

Database reader provider.


The documentation for this class was generated from the following file: