CL_DBReaderProvider Class Reference
[clanDatabase System]

Database reader provider. More...

#include <db_reader_provider.h>

List of all members.

Public Member Functions

Construction
virtual ~CL_DBReaderProvider ()
Attributes
virtual int get_column_count () const =0
 Returns the number of columns in the result set.
virtual CL_String get_column_name (int index) const =0
 Returns the name of the specified column index.
virtual int get_name_index (const CL_StringRef &name) const =0
 Returns the index of the specified column name.
virtual CL_String get_column_string (int index) const =0
 Retrieves the value of the specified column as a string.
virtual bool get_column_bool (int index) const =0
 Retrieves the value of the specified column as a boolean.
virtual int get_column_int (int index) const =0
 Retrieves the value of the specified column as an integer.
virtual double get_column_double (int index) const =0
 Retrieves the value of the specified column as a double.
virtual CL_DateTime get_column_datetime (int index) const =0
 Retrieves the value of the specified column as a CL_DateTime.
virtual CL_DataBuffer get_column_binary (int index) const =0
 Retrieves the value of the specified column as a CL_DataBuffer.
Operations
virtual bool retrieve_row ()=0
 Retrieves a row from the command execution result.
virtual void close ()=0
 Closes the database reader.


Detailed Description

Database reader provider.


Constructor & Destructor Documentation

virtual CL_DBReaderProvider::~CL_DBReaderProvider  )  [inline, virtual]
 


Member Function Documentation

virtual void CL_DBReaderProvider::close  )  [pure virtual]
 

Closes the database reader.

virtual CL_DataBuffer CL_DBReaderProvider::get_column_binary int  index  )  const [pure virtual]
 

Retrieves the value of the specified column as a CL_DataBuffer.

virtual bool CL_DBReaderProvider::get_column_bool int  index  )  const [pure virtual]
 

Retrieves the value of the specified column as a boolean.

virtual int CL_DBReaderProvider::get_column_count  )  const [pure virtual]
 

Returns the number of columns in the result set.

virtual CL_DateTime CL_DBReaderProvider::get_column_datetime int  index  )  const [pure virtual]
 

Retrieves the value of the specified column as a CL_DateTime.

virtual double CL_DBReaderProvider::get_column_double int  index  )  const [pure virtual]
 

Retrieves the value of the specified column as a double.

virtual int CL_DBReaderProvider::get_column_int int  index  )  const [pure virtual]
 

Retrieves the value of the specified column as an integer.

virtual CL_String CL_DBReaderProvider::get_column_name int  index  )  const [pure virtual]
 

Returns the name of the specified column index.

virtual CL_String CL_DBReaderProvider::get_column_string int  index  )  const [pure virtual]
 

Retrieves the value of the specified column as a string.

virtual int CL_DBReaderProvider::get_name_index const CL_StringRef name  )  const [pure virtual]
 

Returns the index of the specified column name.

virtual bool CL_DBReaderProvider::retrieve_row  )  [pure virtual]
 

Retrieves a row from the command execution result.

Returns:
True if a row was retrieved, false if there are no more rows


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:35 2009 for ClanLib by  doxygen 1.4.6