Environment Class Reference

#include <environment.h>

List of all members.

Public Member Functions

 Environment ()
 Allocate an ODBC environment.

Private Attributes

SQLHENV f_environment


Detailed Description

Definition at line 6 of file environment.h.


Constructor & Destructor Documentation

Environment::Environment (  ) 

Allocate an ODBC environment.

This function initializes an environment object.

It immediately allocates an ODBC environment and thus it can right away be used to create connections.

Exceptions:
odbc_exception_no_environment If the allocation fails, an odbc_exception_no_environment will be thrown.

Definition at line 42 of file environment.cpp.

References f_environment.


Member Data Documentation

SQLHENV Environment::f_environment [private]

Definition at line 12 of file environment.h.

Referenced by Environment().


The documentation for this class was generated from the following files:
Generated on Sat May 31 22:23:22 2008 for odbcpp by  doxygen 1.4.7