The odbcpp wrapper is fully enclosed in the odbcpp namespace. More...
Classes | |
| class | buffer | 
| Class used to manage a block of memory.  More... | |
| class | connection | 
| Handles a connection between you and the database server.  More... | |
| class | diag_t | 
| Records the data read from the diagnostic function.  More... | |
| class | diagnostic | 
| A class holding the information of a complete diagnostic.  More... | |
| class | dynamic_record | 
| A record that is automatically linked at run time.  More... | |
| class | environment | 
| An ODBC environment.  More... | |
| class | handle | 
| Manage an ODBC handle.  More... | |
| class | object | 
| Base class used to handle smart pointers.  More... | |
| class | odbcpp_error | 
| The odbcpp exception object.  More... | |
| class | record | 
| Manage a static (pre-bound) record to fetch data.  More... | |
| class | record_base | 
| The record base class, used mainly internally.  More... | |
| class | smartptr | 
| Ensure proper management of objects.  More... | |
| class | statement | 
| The handle to run SQL statements.  More... | |
Typedefs | |
| typedef buffer< char > | buffer_char_t | 
| A specialization of the buffer template of type char.   | |
| typedef std::vector< diag_t > | diag_vector_t | 
| A vector of diagnostics; used by the diagnostic class.   | |
Functions | |
| const char * | get_version () | 
| Retrieve the library version.   | |
| SQLPOINTER | int_to_ptr (SQLINTEGER integer) | 
| Convert an integer to a pointer.   | |
The odbcpp wrapper is fully enclosed in the odbcpp namespace.
| typedef buffer<char> odbcpp::buffer_char_t | 
| typedef std::vector<diag_t> odbcpp::diag_vector_t | 
A vector of diagnostics; used by the diagnostic class.
Definition at line 49 of file diagnostic.h.
| const char * odbcpp::get_version | ( | ) | 
Retrieve the library version.
Definition at line 129 of file odbcpp.cpp.
| SQLPOINTER odbcpp::int_to_ptr | ( | SQLINTEGER | integer | ) | 
Convert an integer to a pointer.
Some compilers rightfully generate warnings and/or errors when simply casting an integer to a pointer. This is done with all the setattr() calls.
Definition at line 143 of file odbcpp.cpp.
References odbcpp::odbcpp_error::ODBCPP_INTERNAL.
Referenced by odbcpp::statement::set_attr(), and odbcpp::environment::set_attr().
 1.6.3