Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SQLDBC::SQLDBC_Environment Class Reference

#include <SQLDBC.h>

List of all members.


Detailed Description

The SQLDBC_Environment object is the basis for initializing the SQLDBC runtime library and making general settings in the SQLDBC interface.

Definition at line 3156 of file SQLDBC.h.

Public Methods


Constructor & Destructor Documentation

SQLDBC::SQLDBC_Environment::SQLDBC_Environment SQLDBC_IRuntime   runtime
 

Creates a new SQLDBC_Environment, using the provided interface to the runtime environment.

Parameters:
runtime The runtime to be used, must not be 0. Implement the interface using SQLDBC_IRuntime or use the SQLDBC::GetClientRuntime() in a client application to obtain a valid argument for this constructor.

SQLDBC::SQLDBC_Environment::~SQLDBC_Environment  
 

The destructor.


Member Function Documentation

SQLDBC_Connection* SQLDBC::SQLDBC_Environment::createConnection SAPDBMem_IRawAllocator &    allocator const
 

Creates a new SQLDBC_Connection object.

Returns:
A reference to a SQLDBC_Connection object.
See also:
releaseConnection

SQLDBC_Connection* SQLDBC::SQLDBC_Environment::createConnection   const
 

Creates a new SQLDBC_Connection object.

Returns:
A reference to a SQLDBC_Connection object.
See also:
releaseConnection

SAPDBMem_IRawAllocator& SQLDBC::SQLDBC_Environment::getAllocator  
 

Requests the allocator associated to this connection item.

const char* SQLDBC::SQLDBC_Environment::getLibraryVersion  
 

Returns the version of used SQLDBC runtime.

This is the version of the used SQLDBC library. The version of the loaded runtime may differ from the version inidacted in the used header. It is our aim that newer versions of the runtime will run with old applications without the need to be re-compiling.

Returns:
A character string in the format 'libSQLDBC M.M.C Build 002-000-000-000' containing a complete version string of the (shared) linked SQLDBC library.

const char* SQLDBC::SQLDBC_Environment::getSDKVersion   const [inline]
 

Returns the version of the used SQLDBC API.

It corresponds to the version indicated in the used SQLDBC header.

Returns:
A character string of the format 'SQLDBC.H M.M.C Build 002-000-000-000' containing a complete version string.

Definition at line 3225 of file SQLDBC.h.

void SQLDBC::SQLDBC_Environment::releaseConnection SQLDBC_Connection   connection const
 

Closes a SQLDBC_Connection.

Parameters:
connection The SQLDBC_Connection to be closed.
See also:
createConnection


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