include/dbapi/driver/dbapi_svc_mapper.hpp File Reference

#include <dbapi/driver/dbapi_conn_factory.hpp>
#include <corelib/ncbimtx.hpp>
#include <vector>
#include <set>
#include <map>

Include dependency graph for dbapi_svc_mapper.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CDBDefaultServiceMapper
 CDBDefaultServiceMapper. More...
class  CDBServiceMapperCoR
 CDBServiceMapperCoR. More...
class  CDBUDRandomMapper
 CDBUDRandomMapper. More...
class  CDBUDPriorityMapper
 CDBUDPriorityMapper. More...
class  CDBUniversalMapper
class  CDBServiceMapperTraits< CDBDefaultServiceMapper >
class  CDBServiceMapperTraits< CDBServiceMapperCoR >
class  CDBServiceMapperTraits< CDBUDRandomMapper >
class  CDBServiceMapperTraits< CDBUDPriorityMapper >
class  CDBServiceMapperTraits< CDBUniversalMapper >

Defines

#define DBLB_INSTALL_FACTORY(factory_name)
 Easy-to-use macro to install the default DBAPI service mapper and a user-defined connection factory.
#define DBLB_INSTALL_DEFAULT()   DBLB_INSTALL_FACTORY(ncbi::CDBConnectionFactory)
 Easy-to-use macro to install the default DBAPI service mapper.

Functions

IDBServiceMapperMakeCDBUniversalMapper (const IRegistry *registry)


Define Documentation

 
#define DBLB_INSTALL_DEFAULT  )     DBLB_INSTALL_FACTORY(ncbi::CDBConnectionFactory)
 

Easy-to-use macro to install the default DBAPI service mapper.

Definition at line 287 of file dbapi_svc_mapper.hpp.

Referenced by init_common(), CDbapiTest::Run(), CDbapiSampleApp::Run(), CDemoeApp::Run(), CConnectPolicyApp::RunSample(), and CDemoApp::RunSample().

#define DBLB_INSTALL_FACTORY factory_name   ) 
 

Value:

ncbi::CDbapiConnMgr::Instance().SetConnectionFactory(                  \
            new factory_name(ncbi::MakeCDBUniversalMapper))
Easy-to-use macro to install the default DBAPI service mapper and a user-defined connection factory.

Definition at line 282 of file dbapi_svc_mapper.hpp.


Function Documentation

IDBServiceMapper* MakeCDBUniversalMapper const IRegistry registry  )  [inline]
 

Definition at line 264 of file dbapi_svc_mapper.hpp.

References registry.


Generated on Wed Dec 9 07:03:33 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Wed Dec 09 08:18:19 2009 by modify_doxy.py rev. 173732