Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef DBAPI___DRIVER_MGR__HPP
2 #define DBAPI___DRIVER_MGR__HPP
74 static void RemoveInstance();
86 {
return CreateDs(driver_name,
NULL,
tag); }
93 {
return CreateDs(drivers,
NULL,
tag); }
99 void DestroyDs(
const string& driver_name);
121 class IDataSource* RegisterDs(
const string& driver_name,
static void SetMaxConnect(unsigned int max_connect)
static unsigned int GetMaxConnect(void)
Helper class for object allocation/deallocation.
Include a standard set of the NCBI C++ Toolkit most basic headers.
IDataSource * CreateDs(const string &driver_name, const string &tag)
IDataSource * CreateDsFrom(const string &drivers, const string &tag)
void SetMaxConnect(unsigned int max_connect)
unsigned int GetMaxConnect(void)
multimap< string, class IDataSource * > TDsContainer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_DBAPI_EXPORT
Process information in the NCBI Registry, including working with configuration files.
Plugin manager (using class factory paradigm).