NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
CDriverManager Class Reference

Search Toolkit Book for CDriverManager

#include <dbapi/driver_mgr.hpp>

+ Inheritance diagram for CDriverManager:
+ Collaboration diagram for CDriverManager:

Public Member Functions

IDataSourceCreateDs (const string &driver_name, const map< string, string > *attr=0, const string &tag=kEmptyStr)
 
IDataSourceCreateDs (const string &driver_name, const string &tag)
 
IDataSourceCreateDsFrom (const string &drivers, const IRegistry *reg=0, const string &tag=kEmptyStr)
 
IDataSourceCreateDsFrom (const string &drivers, const string &tag)
 
IDataSourceMakeDs (const CDBConnParams &params, const string &tag=kEmptyStr)
 
void DestroyDs (const string &driver_name)
 
void DestroyDs (const IDataSource *ds)
 
void SetMaxConnect (unsigned int max_connect)
 
unsigned int GetMaxConnect (void)
 
- Public Member Functions inherited from C_DriverMgr
 C_DriverMgr (unsigned int nof_drivers=16)
 
I_DriverContextGetDriverContext (const string &driver_name, string *err_msg=0, const map< string, string > *attr=0)
 
virtual ~C_DriverMgr ()
 
void AddDllSearchPath (const string &path)
 Add path for the DLL lookup. More...
 
void ResetDllSearchPath (vector< string > *previous_paths=NULL)
 Delete all user-installed paths for the DLL lookup (for all resolvers) More...
 
CDllResolver::TExtraDllPath SetDllStdSearchPath (CDllResolver::TExtraDllPath standard_paths)
 Specify which standard locations should be used for the DLL lookup (for all resolvers). More...
 
CDllResolver::TExtraDllPath GetDllStdSearchPath (void) const
 Get standard locations which should be used for the DLL lookup. More...
 
I_DriverContextGetDriverContextFromTree (const string &driver_name, const TPluginManagerParamTree *const attr=NULL)
 
I_DriverContextGetDriverContextFromMap (const string &driver_name, const map< string, string > *attr=NULL)
 

Static Public Member Functions

static CDriverManagerGetInstance ()
 
static void RemoveInstance ()
 

Protected Types

typedef multimap< string, class IDataSource * > TDsContainer
 

Protected Member Functions

 CDriverManager ()
 
virtual ~CDriverManager ()
 
class IDataSourceRegisterDs (const string &driver_name, class I_DriverContext *ctx)
 

Protected Attributes

CMutex m_Mutex
 
TDsContainer m_ds_list
 

Friends

class CSafeStatic_Allocator< CDriverManager >
 

Detailed Description

Definition at line 64 of file driver_mgr.hpp.


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:58:02 2024 by modify_doxy.py rev. 669887