A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCMySQLContext.html below:

NCBI C++ ToolKit: CMySQLContext Class Reference

Search Toolkit Book for CMySQLContext

#include <dbapi/driver/mysql/interfaces.hpp>

  CMySQLContext ()   virtual  ~CMySQLContext ()   virtual bool  IsAbleTo (ECapability cpb) const   Check if a driver is acle to provide necessary functionality. More...
  virtual string  GetDriverName (void) const   virtual  ~CDriverContext (void)   virtual bool  SetMaxBlobSize (size_t nof_bytes)   Set maximal size for BLOB data. More...
  bool  SetMaxTextImageSize (size_t nof_bytes)   virtual bool  SetLoginTimeout (unsigned int nof_secs=0)   Set login timeout. More...
  virtual unsigned int  GetLoginTimeout (void) const   Get login timeout. More...
  virtual bool  SetTimeout (unsigned int nof_secs=0)   Set connection timeout. More...
  virtual unsigned int  GetTimeout (void) const   Get connection timeout. More...
  virtual bool  SetCancelTimeout (unsigned int nof_secs)   virtual unsigned int  GetCancelTimeout (void) const   virtual void  SetApplicationName (const string &app_name)   Set application name. More...
  virtual string  GetApplicationName (void) const   Return application name. More...
  virtual void  SetHostName (const string &host_name)   Set host name. More...
  virtual string  GetHostName (void) const   Get host name. More...
  virtual CDB_ConnectionMakeConnection (const CDBConnParams &params)   Create connection object using Load Balancer / connection factory. More...
  virtual unsigned int  NofConnections (const string &srv_name="", const string &pool_name="") const   Return number of currently open connections in this context. More...
  virtual unsigned int  NofConnections (const TSvrRef &svr_ref, const string &pool_name="") const   virtual void  PushCntxMsgHandler (CDB_UserHandler *h, EOwnership ownership=eNoOwnership)   Add message handler "h" to process 'context-wide' (not bound to any particular connection) error messages. More...
  virtual void  PopCntxMsgHandler (CDB_UserHandler *h)   Remove message handler "h" and all handlers above it in the stack. More...
  virtual void  PushDefConnMsgHandler (CDB_UserHandler *h, EOwnership ownership=eNoOwnership)   Add `per-connection' err.message handler "h" to the stack of default handlers which are inherited by all newly created connections. More...
  virtual void  PopDefConnMsgHandler (CDB_UserHandler *h)   Remove `per-connection' mess. handler "h" and all above it in the stack. More...
  void  CloseUnusedConnections (const string &srv_name=kEmptyStr, const string &pool_name=kEmptyStr, unsigned int max_closings=kMax_UInt)   close reusable deleted connections for specified server and/or pool More...
  const CDBHandlerStackGetConnHandlerStack (void) const   const CDBHandlerStackGetCtxHandlerStack (void) const   virtual void  SetClientCharset (const string &charset)   const stringGetClientCharset (void) const   EEncoding  GetClientEncoding (void) const   bool  IsMultibyteClientEncoding (void) const   size_t  GetMaxBlobSize (void) const   size_t  GetMaxTextImageSize (void) const   void  ReadDBConfParams (const string &service_name, SDBConfParams *params)   bool  SatisfyPoolMinimum (const CDBConnParams &params)   size_t  CloseConnsForPool (const string &pool_name, Uint4 keep_host_ip=0, Uint2 keep_port=0)   void  CloseOldIdleConns (unsigned int max_closings, const string &pool_name=kEmptyStr)   void  GetCountsForPool (const string &pool_name, TCounts *counts) const   void  GetCountsForService (const string &service, TCounts *counts) const   virtual  ~I_DriverContext (void)   bool  SetMaxTextImageSize (size_t n)   CDB_ConnectionConnect (const string &srv_name, const string &user_name, const string &passwd, TConnectionMode mode, bool reusable=false, const string &pool_name=kEmptyStr)   Create new connection to specified server (or service) within this context. More...
  CDB_ConnectionConnectValidated (const string &srv_name, const string &user_name, const string &passwd, IConnValidator &validator, TConnectionMode mode=0, bool reusable=false, const string &pool_name=kEmptyStr)   Create new connection to specified server (within this context). More...
  virtual void  InitApplicationName (void)   Explicitly auto-initialize the application name, if necessary. More...
 

Definition at line 65 of file interfaces.hpp.

◆ CMySQLContext() CMySQLContext::CMySQLContext ( )

Definition at line 47 of file context.cpp.

◆ ~CMySQLContext() CMySQLContext::~CMySQLContext ( ) virtual

Definition at line 52 of file context.cpp.

◆ GetDriverName() string CMySQLContext::GetDriverName ( void  ) const virtual ◆ IsAbleTo()

Check if a driver is acle to provide necessary functionality.

Parameters
cpb Functionality to query about.
Returns

Implements I_DriverContext.

Definition at line 57 of file context.cpp.

◆ MakeIConnection() ◆ CMySQL_Connection

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4